r222196 - Debug Info: context field of a global variable is DIScopeRef.
Manman Ren
manman.ren at gmail.com
Mon Nov 17 16:29:32 PST 2014
Author: mren
Date: Mon Nov 17 18:29:32 2014
New Revision: 222196
URL: http://llvm.org/viewvc/llvm-project?rev=222196&view=rev
Log:
Debug Info: context field of a global variable is DIScopeRef.
Paired commit with r222195.
Modified:
cfe/trunk/test/CodeGenCXX/debug-info-class.cpp
Modified: cfe/trunk/test/CodeGenCXX/debug-info-class.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-class.cpp?rev=222196&r1=222195&r2=222196&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-class.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-class.cpp Mon Nov 17 18:29:32 2014
@@ -118,7 +118,7 @@ int main(int argc, char **argv) {
// CHECK: metadata !"_ZTS1D", {{.*}}, metadata [[D_FUNC_DECL:![0-9]*]], metadata {{![0-9]*}}} ; [ DW_TAG_subprogram ] {{.*}} [def] [func]
// CHECK: [[D_FUNC_DECL]] = metadata !{metadata !"0x2e\00func\00{{.*}}\000\00{{[0-9]+}}"{{.*}}, metadata !"_ZTS1D", {{.*}}, null} ; [ DW_TAG_subprogram ] {{.*}} [func]
-// CHECK: [[F_I_DEF:![0-9]*]] = {{.*}}, metadata [[F_I:![0-9]*]]} ; [ DW_TAG_variable ] [i]
+// CHECK: [[F_I_DEF:![0-9]*]] = {{.*}}, metadata !"_ZTS1F", metadata {{![0-9]*}}, metadata {{![0-9]*}}, i32 2, metadata [[F_I:![0-9]*]]} ; [ DW_TAG_variable ] [i]
// CHECK: [[F_I]] = {{.*}}, metadata !"_ZTS1F", {{.*}} ; [ DW_TAG_member ] [i]
More information about the cfe-commits
mailing list