diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-23 23:10:00 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-23 23:10:00 +0000 |
commit | 7894ffd006bfabd45c75696c9b7cfdda7c7bad9d (patch) | |
tree | 58606fa9c3bf49fee8c682a58aaef2cb04db916b /test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | |
parent | 4f2c29708d3208197f706f6e8841a2f828aea89c (diff) | |
download | llvm-7894ffd006bfabd45c75696c9b7cfdda7c7bad9d.tar.gz llvm-7894ffd006bfabd45c75696c9b7cfdda7c7bad9d.tar.bz2 llvm-7894ffd006bfabd45c75696c9b7cfdda7c7bad9d.tar.xz |
Debug Info: improve the Finder.
Improve the Finder to handle context of a DIVariable.
If Scope is a DICompileUnit, add it to the list of CUs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll')
-rw-r--r-- | test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll index 890fd0f067..1deba77c62 100644 --- a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll +++ b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll @@ -67,7 +67,8 @@ declare i64 @strlen(i8*) nounwind readonly declare void @llvm.stackrestore(i8*) nounwind !0 = metadata !{i32 459009, metadata !1, metadata !"s1", metadata !2, i32 2, metadata !6} ; [ DW_TAG_arg_variable ] -!1 = metadata !{i32 458798, i32 0, metadata !2, metadata !"foo", metadata !"foo", metadata !"foo", metadata !2, i32 2, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] +!1 = metadata !{i32 458798, i32 0, metadata !2, metadata !"foo", metadata !"foo", metadata !"foo", i32 2, metadata !3, i1 false, i1 true, + i32 0, i32 0, null, i32 0, i32 0, null, null, null, null, i32 0} ; [ DW_TAG_subprogram ] !2 = metadata !{i32 458769, i32 0, i32 1, metadata !"vla.c", metadata !"/tmp/", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 458773, metadata !2, metadata !"", metadata !2, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_subroutine_type ] !4 = metadata !{metadata !5, metadata !6} |