removed hardcoding for attribute associated with dtor in test

llvm-svn: 243672
This commit is contained in:
Naomi Musgrave 2015-07-30 17:59:54 +00:00
parent 690132b344
commit 9476ee947b
1 changed files with 2 additions and 3 deletions

View File

@ -14,11 +14,10 @@ struct Simple {
Simple s; Simple s;
// Simple internal member is poisoned by compiler-generated dtor // 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: {{^ *}}call void @__sanitizer_dtor_callback
// CHECK-NOT: tail call void @__sanitizer_dtor_callback // CHECK-NOT: tail call void @__sanitizer_dtor_callback
// CHECK: ret void // CHECK: ret void
// Destructor does not emit any tail calls // Destructor does not emit any tail calls
// CHECK: attributes #1 = {{.*("disable-tail-calls"="true").*}} // CHECK: attributes [[ATTRIBUTE]] = {{.*}}"disable-tail-calls"="true"
// CHECK: }{{$}}