summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-06-20 16:28:24 +0000
committerReid Kleckner <reid@kleckner.net>2013-06-20 16:28:24 +0000
commitcd91d05cf72346656056b9a9694a65782f48cb78 (patch)
treed5c0f31f0f251d07fbf8fe12053aa552ec844fd9 /test/CodeGenCXX/debug-info.cpp
parentda4cb0cf401bb546574a7db46e50cda8b9d9c048 (diff)
Fix CodeGenCXX/debug-info.cpp test on Windows
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
Diffstat (limited to 'test/CodeGenCXX/debug-info.cpp')
-rw-r--r--test/CodeGenCXX/debug-info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp
index 2d1b5185be..5ef45db3c8 100644
--- a/test/CodeGenCXX/debug-info.cpp
+++ b/test/CodeGenCXX/debug-info.cpp
@@ -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 {