diff options
Diffstat (limited to 'test/CodeGen/2009-10-20-GlobalDebug.c')
-rw-r--r-- | test/CodeGen/2009-10-20-GlobalDebug.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c index e56f227d2ac6..080f02ea7ed4 100644 --- a/test/CodeGen/2009-10-20-GlobalDebug.c +++ b/test/CodeGen/2009-10-20-GlobalDebug.c @@ -6,5 +6,11 @@ int main() { return 0; } -// CHECK: !"0x34\00localstatic\00localstatic\00\005\001\001", !{{.*}}, !{{.*}}, !{{.*}}, i32* @main.localstatic, null} ; [ DW_TAG_variable ] -// CHECK: !"0x34\00global\00global\00\003\000\001", null, !{{.*}}, !{{.*}}, i32* @global, null} ; [ DW_TAG_variable ] +// CHECK: !DIGlobalVariable(name: "localstatic" +// CHECK-NOT: linkageName: +// CHECK-SAME: line: 5, +// CHECK-SAME: variable: i32* @main.localstatic +// CHECK: !DIGlobalVariable(name: "global" +// CHECK-NOT: linkageName: +// CHECK-SAME: line: 3, +// CHECK-SAME: variable: i32* @global |