summaryrefslogtreecommitdiff
path: root/test/CodeGen/2009-10-20-GlobalDebug.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:56:07 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:56:07 +0000
commiteb92c2f0059e9244038570c6cb09396d0cfc3dbe (patch)
tree72a71305c6d4e1ccc8d624d34a983695f823a5d0 /test/CodeGen/2009-10-20-GlobalDebug.c
parentf646819083b640e427aad7c64017d7a1308a5bf2 (diff)
downloadclang-eb92c2f0059e9244038570c6cb09396d0cfc3dbe.tar.gz
DI: LLVM schema change: fold constants into string
Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/2009-10-20-GlobalDebug.c')
-rw-r--r--test/CodeGen/2009-10-20-GlobalDebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c
index c48ad28ad0..1b80b3ec6d 100644
--- a/test/CodeGen/2009-10-20-GlobalDebug.c
+++ b/test/CodeGen/2009-10-20-GlobalDebug.c
@@ -6,5 +6,5 @@ int main() {
return 0;
}
-// CHECK: metadata !{i32 {{.*}}, i32 0, metadata !{{.*}}, metadata !"localstatic", metadata !"localstatic", metadata !"", metadata !{{.*}}, i32 5, metadata !{{.*}}, i32 1, i32 1, i32* @main.localstatic, null} ; [ DW_TAG_variable ]
-// CHECK: metadata !{i32 {{.*}}, i32 0, null, metadata !"global", metadata !"global", metadata !"", metadata !{{.*}}, i32 3, metadata !{{.*}}, i32 0, i32 1, i32* @global, null} ; [ DW_TAG_variable ]
+// CHECK: metadata !{metadata !"0x34\00localstatic\00localstatic\00\005\001\001", metadata !{{.*}}, metadata !{{.*}}, metadata !{{.*}}, i32* @main.localstatic, null} ; [ DW_TAG_variable ]
+// CHECK: metadata !{metadata !"0x34\00global\00global\00\003\000\001", null, metadata !{{.*}}, metadata !{{.*}}, i32* @global, null} ; [ DW_TAG_variable ]