diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
commit | f7a9da053f5bd6c18450c1796d953b42c3b7ad3a (patch) | |
tree | 3a4accecdb98419478035c3bf5be57df768e0625 /test/CodeGenCXX/exceptions.cpp | |
parent | 5251abea41b446c26e3239c8dd6c7edea6fc335d (diff) |
Modify the tests to use attribute group references instead of listing the
function attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/exceptions.cpp')
-rw-r--r-- | test/CodeGenCXX/exceptions.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGenCXX/exceptions.cpp b/test/CodeGenCXX/exceptions.cpp index f9727282c5..14133fa068 100644 --- a/test/CodeGenCXX/exceptions.cpp +++ b/test/CodeGenCXX/exceptions.cpp @@ -71,7 +71,7 @@ namespace test1 { // rdar://11904428 // Terminate landing pads should call __cxa_begin_catch first. - // CHECK: define linkonce_odr hidden void @__clang_call_terminate(i8*) noinline noreturn nounwind + // CHECK: define linkonce_odr hidden void @__clang_call_terminate(i8*) #2 // CHECK-NEXT: [[T0:%.*]] = call i8* @__cxa_begin_catch(i8* %0) nounwind // CHECK-NEXT: call void @_ZSt9terminatev() noreturn nounwind // CHECK-NEXT: unreachable @@ -525,3 +525,8 @@ namespace test11 { // CHECK: resume // (After this is a terminate landingpad.) } + +// CHECK: attributes #0 = { "target-features"={{.*}} } +// CHECK: attributes #1 = { nounwind "target-features"={{.*}} } +// CHECK: attributes #2 = { noinline noreturn nounwind } +// CHECK: attributes #3 = { nounwind readnone } |