Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGenCXX/debug-info-line.cpp
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | |||||
struct bar { | struct bar { | ||||
bar(); | bar(); | ||||
// noexcept(false) to convolute the global dtor | // noexcept(false) to convolute the global dtor | ||||
~bar() noexcept(false); | ~bar() noexcept(false); | ||||
}; | }; | ||||
// global ctor cleanup | // global ctor cleanup | ||||
// CHECK-LABEL: define | // CHECK-LABEL: define | ||||
// CHECK: invoke{{ }} | // CHECK: invoke{{ }} | ||||
// CHECK: invoke{{ }} | // CHECK: call unwindabort {{.*}}, !dbg [[DBG_GLBL_CTOR_B:!.*]] | ||||
// CHECK: to label {{.*}}, !dbg [[DBG_GLBL_CTOR_B:!.*]] | |||||
// terminate caller | |||||
// CHECK-LABEL: define | |||||
// global dtor cleanup | // global dtor cleanup | ||||
// CHECK-LABEL: define | // CHECK-LABEL: define | ||||
// CHECK: invoke{{ }} | // CHECK: invoke{{ }} | ||||
// CHECK: invoke{{ }} | // CHECK: call unwindabort {{.*}}, !dbg [[DBG_GLBL_DTOR_B:!.*]] | ||||
// CHECK: to label {{.*}}, !dbg [[DBG_GLBL_DTOR_B:!.*]] | |||||
#line 1200 | #line 1200 | ||||
bar b[1] = { // | bar b[1] = { // | ||||
(fn(), // | (fn(), // | ||||
bar())}; | bar())}; | ||||
// CHECK-LABEL: define{{.*}}f11 | // CHECK-LABEL: define{{.*}}f11 | ||||
__complex double f11() { | __complex double f11() { | ||||
__complex double f; | __complex double f; | ||||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |