mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated.
llvm-svn: 165796
This commit is contained in:
parent
ca189ff532
commit
100b5cd40b
@ -1846,7 +1846,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
|
||||
true,
|
||||
false);
|
||||
|
||||
funct->addFnAttr(llvm::Attribute::NoReturn);
|
||||
funct->setDoesNotReturn();
|
||||
|
||||
// _Unwind_Resume
|
||||
|
||||
@ -1866,7 +1866,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
|
||||
true,
|
||||
false);
|
||||
|
||||
funct->addFnAttr(llvm::Attribute::NoReturn);
|
||||
funct->setDoesNotReturn();
|
||||
|
||||
// ourPersonality
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user