Skip to content
Snippets Groups Projects
Commit 2d69af3e authored by Naomi Musgrave's avatar Naomi Musgrave
Browse files

removed hardcoding for attribute associated with dtor in test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243672 91177308-0d34-0410-b5e6-96231b3b80d8
parent 325791ff
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,10 @@ struct Simple { ...@@ -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: }{{$}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment