summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/dwarf-comp-dir.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-11 21:46:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-11 21:46:46 +0000
commit6bd395f3f02633c1fe2698cfe78ce2302e79b189 (patch)
tree7aee266fb6088fa188370c61fc2fe68618eb3ba1 /llvm/test/CodeGen/X86/dwarf-comp-dir.ll
parenta97442f5fbf6a3780a50ab41729a64e69a6eed92 (diff)
downloadbcm5719-llvm-6bd395f3f02633c1fe2698cfe78ce2302e79b189.tar.gz
bcm5719-llvm-6bd395f3f02633c1fe2698cfe78ce2302e79b189.zip
DebugInfo: Remove dependence on file numbering in the line table.
These tests were unnecessarily sensitive to the presence and ordering of elements in the line table file_names list which will break on a future change I'm working on. llvm-svn: 201185
Diffstat (limited to 'llvm/test/CodeGen/X86/dwarf-comp-dir.ll')
-rw-r--r--llvm/test/CodeGen/X86/dwarf-comp-dir.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/dwarf-comp-dir.ll b/llvm/test/CodeGen/X86/dwarf-comp-dir.ll
index ee2fa07becb..c8d75277104 100644
--- a/llvm/test/CodeGen/X86/dwarf-comp-dir.ll
+++ b/llvm/test/CodeGen/X86/dwarf-comp-dir.ll
@@ -7,10 +7,12 @@ target triple = "x86_64-unknown-linux-gnu"
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!5}
-!0 = metadata !{i32 720913, metadata !4, i32 12, metadata !"clang version 3.1 (trunk 143523)", i1 true, metadata !"", i32 0, metadata !2, metadata !2, metadata !2, metadata !2, null, metadata !""} ; [ DW_TAG_compile_unit ]
+!0 = metadata !{i32 720913, metadata !4, i32 12, metadata !"clang version 3.1 (trunk 143523)", i1 true, metadata !"", i32 0, metadata !2, metadata !7, metadata !2, metadata !2, null, metadata !""} ; [ DW_TAG_compile_unit ]
!2 = metadata !{}
!3 = metadata !{i32 786473, metadata !4} ; [ DW_TAG_file_type ]
!4 = metadata !{metadata !"empty.c", metadata !"/home/nlewycky"}
+!6 = metadata !{i32 786451, metadata !4, null, metadata !"foo", i32 1, i64 8, i64 8, i32 0, i32 0, null, metadata !2, i32 0, null, null, metadata !"_ZTS3foo"} ; [ DW_TAG_structure_type ] [foo] [line 1, size 8, align 8, offset 0] [def] [from ]
+!7 = metadata !{metadata !6}
; The important part of the following check is that dir = #0.
; Dir Mod Time File Len File Name
OpenPOWER on IntegriCloud