2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-windows-msvc -std=c++11 -emit-llvm -debug-info-kind=line-tables-only %s -o - | FileCheck %s
|
2014-12-30 06:53:52 +08:00
|
|
|
|
|
|
|
struct A {
|
|
|
|
virtual ~A() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
struct B {
|
|
|
|
virtual ~B() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
struct AB: A, B {
|
|
|
|
};
|
|
|
|
|
|
|
|
template struct AB<int>;
|
|
|
|
|
2018-03-17 04:36:49 +08:00
|
|
|
// CHECK: define {{.*}}@"??_E?$AB@H@@W3AEPAXI@Z"({{.*}} !dbg [[THUNK_VEC_DEL_DTOR:![0-9]*]]
|
|
|
|
// CHECK: call {{.*}}@"??_G?$AB@H@@UAEPAXI@Z"({{.*}}) #{{[0-9]*}}, !dbg [[THUNK_LOC:![0-9]*]]
|
2015-11-06 06:04:14 +08:00
|
|
|
// CHECK: define
|
2014-12-30 06:53:52 +08:00
|
|
|
|
2015-11-06 06:04:14 +08:00
|
|
|
// CHECK: [[THUNK_VEC_DEL_DTOR]] = distinct !DISubprogram
|
2016-11-10 05:43:51 +08:00
|
|
|
// CHECK: [[THUNK_LOC]] = !DILocation(line: 0, scope: [[THUNK_VEC_DEL_DTOR]])
|