diff options
author | Naomi Musgrave <nmusgrave@google.com> | 2015-07-30 17:59:54 +0000 |
---|---|---|
committer | Naomi Musgrave <nmusgrave@google.com> | 2015-07-30 17:59:54 +0000 |
commit | 9476ee947ba1b12a61069f5d1828cde5d17f878c (patch) | |
tree | e20e589e320e297801e80ace112ccfb24a81e882 | |
parent | 690132b344214d3105c8ea7a7e7715927942528b (diff) | |
download | bcm5719-llvm-9476ee947ba1b12a61069f5d1828cde5d17f878c.tar.gz bcm5719-llvm-9476ee947ba1b12a61069f5d1828cde5d17f878c.zip |
removed hardcoding for attribute associated with dtor in test
llvm-svn: 243672
-rw-r--r-- | clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp b/clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp index bfbf04dcbd5..a92ffa289f7 100644 --- a/clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp +++ b/clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp @@ -14,11 +14,10 @@ struct Simple { Simple s; // Simple internal member is poisoned by compiler-generated dtor -// CHECK-LABEL: define {{.*}}SimpleD2Ev +// CHECK: define {{.*}}SimpleD2Ev{{.*}} [[ATTRIBUTE:#[0-9]]] // CHECK: {{^ *}}call void @__sanitizer_dtor_callback // CHECK-NOT: tail call void @__sanitizer_dtor_callback // CHECK: ret void // Destructor does not emit any tail calls -// CHECK: attributes #1 = {{.*("disable-tail-calls"="true").*}} -// CHECK: }{{$}} +// CHECK: attributes [[ATTRIBUTE]] = {{.*}}"disable-tail-calls"="true" |