diff options
-rw-r--r-- | examples/ExceptionDemo/ExceptionDemo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp index 276c30d..215cb4d 100644 --- a/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/examples/ExceptionDemo/ExceptionDemo.cpp @@ -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 |