diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-28 22:49:57 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-28 22:49:57 +0000 |
| commit | 706469b4530bfeed161e55f006145354b97eada2 (patch) | |
| tree | 2fe6a3294f123c4e1da43b125a1aa1c5b271bf50 /clang/test/CodeGenCXX/global-dtor-no-atexit.cpp | |
| parent | d838bba59b69265933e71cda8532cd5bfc2bf24a (diff) | |
| download | bcm5719-llvm-706469b4530bfeed161e55f006145354b97eada2.tar.gz bcm5719-llvm-706469b4530bfeed161e55f006145354b97eada2.zip | |
Add more of the command line options as attribute flags.
These can be easily queried by the back-end.
llvm-svn: 176304
Diffstat (limited to 'clang/test/CodeGenCXX/global-dtor-no-atexit.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/global-dtor-no-atexit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp b/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp index 0b323e9a423..7c4b6aa1e05 100644 --- a/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp +++ b/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp @@ -5,12 +5,12 @@ // CHECK: call void @_ZN1AC1Ev([[A:%.*]]* @a) // CHECK-NEXT: call i32 @atexit(void ()* @__dtor_a) -// CHECK: define internal void @__dtor_a() #0 +// CHECK: define internal void @__dtor_a() [[NUW:#[0-9]+]] // CHECK: call void @_ZN1AD1Ev([[A]]* @a) // CHECK: call void @_ZN1AC1Ev([[A]]* @b) // CHECK-NEXT: call i32 @atexit(void ()* @__dtor_b) -// CHECK: define internal void @__dtor_b() #0 +// CHECK: define internal void @__dtor_b() [[NUW]] // CHECK: call void @_ZN1AD1Ev([[A]]* @b) class A { @@ -33,14 +33,14 @@ A a, b; // CHECK-NEXT: call i32 @atexit(void ()* @__dtor__ZZ4funcvE2a2) // CHECK-NEXT: call void @__cxa_guard_release(i64* @_ZGVZ4funcvE2a2) -// CHECK: define internal void @__dtor__ZZ4funcvE2a1() #0 +// CHECK: define internal void @__dtor__ZZ4funcvE2a1() [[NUW]] // CHECK: call void @_ZN1AD1Ev([[A]]* @_ZZ4funcvE2a1) -// CHECK: define internal void @__dtor__ZZ4funcvE2a2() #0 +// CHECK: define internal void @__dtor__ZZ4funcvE2a2() [[NUW]] // CHECK: call void @_ZN1AD1Ev([[A]]* @_ZZ4funcvE2a2) void func() { static A a1, a2; } -// CHECK: attributes #0 = { nounwind } +// CHECK: attributes [[NUW]] = { nounwind } |

