diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-17 03:00:04 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-17 03:00:04 +0000 |
commit | 446b88fb81e14f5fa6f98ca924c83edc856cade7 (patch) | |
tree | ea74cd51a4d1a7baca69aeaf696a630a15796052 /test/DebugInfo/X86 | |
parent | d96c72a14cf327af98cbc7d3491f7a2248f5137d (diff) |
Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this by
changing both the string of the dwo_name to be correct and the type of
the statement list.
Testcases all around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r-- | test/DebugInfo/X86/fission-cu.ll | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/DebugInfo/X86/fission-cu.ll b/test/DebugInfo/X86/fission-cu.ll index 7e80d8f296..a9f08f7902 100644 --- a/test/DebugInfo/X86/fission-cu.ll +++ b/test/DebugInfo/X86/fission-cu.ll @@ -21,11 +21,15 @@ ; CHECK: .debug_info contents: ; CHECK: DW_TAG_compile_unit -; CHECK: DW_AT_GNU_dwo_name [DW_FORM_strp] ( .debug_str[0x00000000] = "baz.c") -; CHECK: DW_AT_GNU_addr_base [DW_FORM_sec_offset] (0x0000000000000000) +; CHECK: DW_AT_GNU_dwo_name [DW_FORM_strp] ( .debug_str[0x00000000] = "baz.dwo") +; CHECK: DW_AT_GNU_addr_base [DW_FORM_sec_offset] (0x00000000) ; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000) -; CHECK: DW_AT_stmt_list [DW_FORM_data4] (0x00000000) -; CHECK: DW_AT_comp_dir [DW_FORM_strp] ( .debug_str[0x00000006] = "/usr/local/google/home/echristo/tmp") +; CHECK: DW_AT_stmt_list [DW_FORM_sec_offset] (0x00000000) +; CHECK: DW_AT_comp_dir [DW_FORM_strp] ( .debug_str[0x00000008] = "/usr/local/google/home/echristo/tmp") + +; CHECK: .debug_str contents: +; CHECK: 0x00000000: "baz.dwo" +; CHECK: 0x00000008: "/usr/local/google/home/echristo/tmp" ; Check that we're using the right forms. ; CHECK: .debug_abbrev.dwo contents: |