diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-12-16 04:26:15 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-12-16 04:26:15 +0000 |
commit | bb01ff0b77c73af1066c43b16d3a35adeb52ff8d (patch) | |
tree | a2c0ce36d8b2c32a1ffede1978d2207db4f98db1 /test/CodeGen/2009-10-20-GlobalDebug.c | |
parent | 652c9fe88f966515fae0aaaa3d5bc91206c17d15 (diff) | |
download | clang-bb01ff0b77c73af1066c43b16d3a35adeb52ff8d.tar.gz |
Update for LLVM global variable debug info API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/2009-10-20-GlobalDebug.c')
-rw-r--r-- | test/CodeGen/2009-10-20-GlobalDebug.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c index 38f20cdb6b..0d7c759f90 100644 --- a/test/CodeGen/2009-10-20-GlobalDebug.c +++ b/test/CodeGen/2009-10-20-GlobalDebug.c @@ -10,9 +10,11 @@ int main() { return 0; } -// CHECK: [[L]] = distinct !DIGlobalVariable(name: "localstatic" -// CHECK-NOT: linkageName: -// CHECK-SAME: line: 9, -// CHECK: [[G]] = distinct !DIGlobalVariable(name: "global" -// CHECK-NOT: linkageName: -// CHECK-SAME: line: 7, +// CHECK: [[L]] = !DIGlobalVariableExpression(var: [[LV:.*]]) +// CHECK: [[LV]] = distinct !DIGlobalVariable(name: "localstatic" +// CHECK-NOT: linkageName: +// CHECK-SAME: line: 9, +// CHECK: [[G]] = !DIGlobalVariableExpression(var: [[GV:.*]]) +// CHECK: [[GV]] = distinct !DIGlobalVariable(name: "global" +// CHECK-NOT: linkageName: +// CHECK-SAME: line: 7, |