diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-thunk.cpp')
| -rw-r--r-- | test/CodeGenCXX/debug-info-thunk.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info-thunk.cpp b/test/CodeGenCXX/debug-info-thunk.cpp index cd00ec937318..f7d16f493256 100644 --- a/test/CodeGenCXX/debug-info-thunk.cpp +++ b/test/CodeGenCXX/debug-info-thunk.cpp @@ -13,8 +13,17 @@ struct C : A, B { }; void C::f() { } - -// CHECK: !DISubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv" +// CHECK: define {{.*}}void @_ZThn{{[48]}}_N1C1fEv +// CHECK-SAME: !dbg ![[SP:[0-9]+]] +// CHECK-NOT: {{ret }} +// CHECK: = load{{.*}} !dbg ![[DBG:[0-9]+]] +// CHECK-NOT: {{ret }} +// CHECK: ret void, !dbg ![[DBG]] +// +// CHECK: ![[SP]] = distinct !DISubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv" // CHECK-SAME: line: 15 // CHECK-SAME: isDefinition: true +// CHECK-SAME: DIFlagArtificial // CHECK-SAME: ){{$}} +// +// CHECK: ![[DBG]] = !DILocation(line: 0 |
