Skip to content

Commit

Permalink
simplified test case
Browse files Browse the repository at this point in the history
llvm-svn: 243673
  • Loading branch information
Naomi Musgrave committed Jul 30, 2015
1 parent 9476ee9 commit e96b851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp
Expand Up @@ -14,9 +14,9 @@ struct Simple {

Simple s;
// Simple internal member is poisoned by compiler-generated dtor
// CHECK: define {{.*}}SimpleD2Ev{{.*}} [[ATTRIBUTE:#[0-9]]]
// CHECK: define {{.*}}SimpleD2Ev{{.*}} [[ATTRIBUTE:#[0-9]+]]
// CHECK: {{^ *}}call void @__sanitizer_dtor_callback
// CHECK-NOT: tail call void @__sanitizer_dtor_callback
// CHECK-NOT: call void @__sanitizer_dtor_callback
// CHECK: ret void

// Destructor does not emit any tail calls
Expand Down

0 comments on commit e96b851

Please sign in to comment.