summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
commite1c4a1babd90ea097ef80df44011e977212c2e78 (patch)
treec8a4cf6471fcb59e39f19d8a21421daed9285b24 /clang/test/CodeGenCXX/sizeof-unwind-exception.cpp
parenta032374ea0d069bff44045eee72ebdaa100ccc7a (diff)
downloadbcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.tar.gz
bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.zip
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
llvm-svn: 175878
Diffstat (limited to 'clang/test/CodeGenCXX/sizeof-unwind-exception.cpp')
-rw-r--r--clang/test/CodeGenCXX/sizeof-unwind-exception.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp b/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp
index 5db4df7c75a..95bb9d0dd73 100644
--- a/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp
+++ b/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp
@@ -15,14 +15,19 @@ void test() {
// PR10789: different platforms have different sizes for struct UnwindException.
-// X86-64: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) nounwind
+// X86-64: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) [[NUW:#[0-9]+]]
// X86-64-NEXT: [[T1:%.*]] = getelementptr i8* [[EXN]], i64 32
-// X86-32: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) nounwind
+// X86-32: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) [[NUW:#[0-9]+]]
// X86-32-NEXT: [[T1:%.*]] = getelementptr i8* [[EXN]], i64 32
-// ARM-DARWIN: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) nounwind
+// ARM-DARWIN: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) [[NUW:#[0-9]+]]
// ARM-DARWIN-NEXT: [[T1:%.*]] = getelementptr i8* [[EXN]], i64 32
-// ARM-EABI: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) nounwind
+// ARM-EABI: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) [[NUW:#[0-9]+]]
// ARM-EABI-NEXT: [[T1:%.*]] = getelementptr i8* [[EXN]], i32 88
-// MIPS: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) nounwind
+// MIPS: [[T0:%.*]] = tail call i8* @__cxa_begin_catch(i8* [[EXN:%.*]]) [[NUW:#[0-9]+]]
// MIPS-NEXT: [[T1:%.*]] = getelementptr i8* [[EXN]], i32 24
+// X86-64: attributes [[NUW]] = { nounwind }
+// X86-32: attributes [[NUW]] = { nounwind }
+// ARM-DARWIN: attributes [[NUW]] = { nounwind }
+// ARM-EABI: attributes [[NUW]] = { nounwind }
+// MIPS: attributes [[NUW]] = { nounwind }
OpenPOWER on IntegriCloud