diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-05-07 16:25:32 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-05-07 16:25:32 +0000 |
commit | 3bf77c5d30a021cbc5fbb7d67d978b51cdd3ed70 (patch) | |
tree | 1a36e07d01cfc2d407af37665a6271e8b5716592 /clang/test/CodeGenCXX/arm.cpp | |
parent | d240953db24441c69b89803c95c7f6a3e9806c14 (diff) | |
download | bcm5719-llvm-3bf77c5d30a021cbc5fbb7d67d978b51cdd3ed70.tar.gz bcm5719-llvm-3bf77c5d30a021cbc5fbb7d67d978b51cdd3ed70.zip |
Remove "CH_ECK" line (which is ignored) from test after r154191.
r154191 switched to atexit() instead of global destructors, so the intent
was probably to check for _GLOBAL__D_a _not_ being in the output. There already
is a line for _ZN3barD1Ev further up, so just remove the CH_ECK line referring
to that.
The only circumstance in which clang emits _GLOBAL__D_a destructor symbols is
for -fapple-kext, and that is tested by test/CodeGenCXX/cxx-apple-kext.cpp.
llvm-svn: 208222
Diffstat (limited to 'clang/test/CodeGenCXX/arm.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/arm.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/arm.cpp b/clang/test/CodeGenCXX/arm.cpp index b8d95991e2d..b6629f444e3 100644 --- a/clang/test/CodeGenCXX/arm.cpp +++ b/clang/test/CodeGenCXX/arm.cpp @@ -28,6 +28,7 @@ bar baz; // CHECK: call [[BAR:%.*]]* @_ZN3barC1Ev( // CHECK-NEXT: call i32 @atexit(void ()* @__dtor_baz) +// CHECK-NOT: @_GLOBAL__D_a() // CHECK-LABEL: define internal void @__dtor_baz() // CHECK: call [[BAR]]* @_ZN3barD1Ev([[BAR]]* @baz) @@ -416,6 +417,3 @@ namespace test9 { // CHECK-LABEL: define linkonce_odr void @_ZTv0_n12_N5test21CD0Ev( // CHECK: call void @_ZN5test21CD0Ev( // CHECK: ret void - -// CH_ECK: @_GLOBAL__D_a() -// CH_ECK: call %class.bar* @_ZN3barD1Ev(%class.bar* @baz) |