forked from OSchip/llvm-project
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated.
llvm-svn: 165796
This commit is contained in:
parent
8e70dd595c
commit
8489be8d1c
|
@ -1846,7 +1846,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
|
||||||
true,
|
true,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
funct->addFnAttr(llvm::Attribute::NoReturn);
|
funct->setDoesNotReturn();
|
||||||
|
|
||||||
// _Unwind_Resume
|
// _Unwind_Resume
|
||||||
|
|
||||||
|
@ -1866,7 +1866,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
|
||||||
true,
|
true,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
funct->addFnAttr(llvm::Attribute::NoReturn);
|
funct->setDoesNotReturn();
|
||||||
|
|
||||||
// ourPersonality
|
// ourPersonality
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue