summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-11-07 19:57:12 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-11-07 19:57:12 +0000
commite5400f8a6e601729da4aa6706cda3db37a06bf13 (patch)
tree723757cd4c9d691e223b5f628c209d8862808085 /llvm/test
parent5c65148565d9af773c51e20c219f494a5fc3cd3d (diff)
downloadbcm5719-llvm-e5400f8a6e601729da4aa6706cda3db37a06bf13.tar.gz
bcm5719-llvm-e5400f8a6e601729da4aa6706cda3db37a06bf13.zip
[DWARFv5] Support DW_FORM_strp in the .debug_line header.
Supporting this form in .debug_line.dwo will be done as a follow-up. Differential Revision: https://reviews.llvm.org/D33155 llvm-svn: 317607
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64bin3056 -> 3248 bytes
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-header.s10
2 files changed, 7 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64 b/llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
index 21c1eacd071..e65f34f2a21 100644
--- a/llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
Binary files differ
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-header.s b/llvm/test/DebugInfo/Inputs/dwarfdump-header.s
index c5cf4859776..e068cb4d7b1 100644
--- a/llvm/test/DebugInfo/Inputs/dwarfdump-header.s
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-header.s
@@ -15,6 +15,10 @@ str_CU_5:
.asciz "V5_compile_unit"
str_TU_4:
.asciz "V4_type_unit"
+str_LT_5a:
+ .asciz "Directory5a"
+str_LT_5b:
+ .asciz "Directory5b"
.section .debug_str.dwo,"MS",@progbits,1
dwo_TU_5:
@@ -227,11 +231,11 @@ LH_5_params:
# Directory table format
.byte 1 # One element per directory entry
.byte 1 # DW_LNCT_path
- .byte 0x08 # DW_FORM_string
+ .byte 0x0e # DW_FORM_strp (-> .debug_str)
# Directory table entries
.byte 2 # Two directories
- .asciz "Directory5a"
- .asciz "Directory5b"
+ .long str_LT_5a
+ .long str_LT_5b
# File table format
.byte 4 # Four elements per file entry
.byte 1 # DW_LNCT_path
OpenPOWER on IntegriCloud