diff options
Diffstat (limited to 'clang/test/CodeGenCXX/global-dtor-no-atexit.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/global-dtor-no-atexit.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp b/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp index 7c4b6aa1e05..40be07a4415 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() [[NUW:#[0-9]+]] +// CHECK: define internal void @__dtor_a() #0 // 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() [[NUW]] +// CHECK: define internal void @__dtor_b() #0 // CHECK: call void @_ZN1AD1Ev([[A]]* @b) class A { @@ -33,14 +33,16 @@ 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() [[NUW]] +// CHECK: define internal void @__dtor__ZZ4funcvE2a1() #0 // CHECK: call void @_ZN1AD1Ev([[A]]* @_ZZ4funcvE2a1) -// CHECK: define internal void @__dtor__ZZ4funcvE2a2() [[NUW]] +// CHECK: define internal void @__dtor__ZZ4funcvE2a2() #0 // CHECK: call void @_ZN1AD1Ev([[A]]* @_ZZ4funcvE2a2) void func() { static A a1, a2; } -// CHECK: attributes [[NUW]] = { nounwind } +// CHECK: attributes #0 = { nounwind } +// CHECK: attributes #1 = { "target-features"={{.*}} } +// CHECK: attributes #2 = { nounwind "target-features"={{.*}} } |