diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-17 21:13:55 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-17 21:13:55 +0000 |
commit | b4cf0ab22b5a3ebb720f0b7287fdccfb465b6b7c (patch) | |
tree | af1cc4625e835e531afb2946538a2e29baaa8496 /test/DebugInfo/X86/stringpool.ll | |
parent | 14de1a87ce2be1a2e9258ea6c8437482cdb480ec (diff) |
Split out filename & directory from DIFile to start generalizing over DIScopes
This is the first step to making all DIScopes have a common metadata prefix (so
that things (using directives, for example) that can appear in any scope can be
added to that common prefix). DIFile is itself a DIScope so the common prefix
of all DIScopes cannot be a DIFile - instead it's the raw filename/directory
name pair.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/stringpool.ll')
-rw-r--r-- | test/DebugInfo/X86/stringpool.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/stringpool.ll b/test/DebugInfo/X86/stringpool.ll index 8fbb898458..3bcce1ceff 100644 --- a/test/DebugInfo/X86/stringpool.ll +++ b/test/DebugInfo/X86/stringpool.ll @@ -9,8 +9,9 @@ !1 = metadata !{i32 0} !3 = metadata !{metadata !5} !5 = metadata !{i32 720948, i32 0, null, metadata !"yyyy", metadata !"yyyy", metadata !"", metadata !6, i32 1, metadata !7, i32 0, i32 1, i32* @yyyy, null} ; [ DW_TAG_variable ] -!6 = metadata !{i32 720937, metadata !"z.c", metadata !"/home/nicholas", null} ; [ DW_TAG_file_type ] +!6 = metadata !{i32 720937, metadata !8} ; [ DW_TAG_file_type ] !7 = metadata !{i32 720932, null, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] +!8 = metadata !{metadata !"z.c", metadata !"/home/nicholas"} ; Verify that we refer to 'yyyy' with a relocation. ; LINUX: .long .Linfo_string3 # DW_AT_name |