r184438 - Fix CodeGenCXX/debug-info.cpp test on Windows
Reid Kleckner
reid at kleckner.net
Thu Jun 20 09:28:24 PDT 2013
Author: rnk
Date: Thu Jun 20 11:28:24 2013
New Revision: 184438
URL: http://llvm.org/viewvc/llvm-project?rev=184438&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGenCXX/debug-info.cpp
Modified: cfe/trunk/test/CodeGenCXX/debug-info.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info.cpp?rev=184438&r1=184437&r2=184438&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info.cpp Thu Jun 20 11:28:24 2013
@@ -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 {
More information about the cfe-commits
mailing list