1
0
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:
NAKAMURA Takumi 2012-10-12 14:11:48 +00:00
parent ca189ff532
commit 100b5cd40b

View File

@ -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