]> granicus.if.org Git - clang/commitdiff
Fix CodeGenCXX/debug-info.cpp test on Windows
authorReid Kleckner <reid@kleckner.net>
Thu, 20 Jun 2013 16:28:24 +0000 (16:28 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 20 Jun 2013 16:28:24 +0000 (16:28 +0000)
On Windows, it looks like FlagIndirectVariable is being set in Flags for
DIBuilder::createLocalVariable(), giving us an i32 of 8192 instead of 0,
as on Linux.

Fixes breakage from r184367.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184438 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info.cpp

index 2d1b5185bee35672b48c959c19762aa0ff90f344..5ef45db3c88850ce00d94046f5e26552f86780ce 100644 (file)
@@ -92,7 +92,7 @@ incomplete (*x)[3];
 }
 
 // For some reason the argument for PR14763 ended up all the way down here
-// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata [[FOO]], i32 8192, i32 0} ; [ DW_TAG_arg_variable ] [f]
+// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata [[FOO]], i32 {{[0-9]+}}, i32 0} ; [ DW_TAG_arg_variable ] [f]
 
 namespace pr16214 {
 struct a {