forked from OSchip/llvm-project
removed hardcoding for attribute associated with dtor in test
llvm-svn: 243672
This commit is contained in:
parent
690132b344
commit
9476ee947b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue