forked from OSchip/llvm-project
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
This commit is contained in:
parent
d240953db2
commit
3bf77c5d30
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue