summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-12-23 16:31:36 +0100
committerPavel Labath <pavel@labath.sk>2020-01-14 15:19:29 +0100
commit4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb (patch)
treeeebb48f4226cdb36d524868ae534c408780b1f78 /lldb/test/Shell/SymbolFile
parente1f524ea43f920767259c47e201405091d7e76fd (diff)
downloadbcm5719-llvm-4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb.tar.gz
bcm5719-llvm-4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb.zip
[lldb/DWARF] Move location list sections into DWARFContext
These are the last sections not managed by the DWARFContext object. I also introduce separate SectionType enums for dwo section variants, as this is necessary for proper handling of single-file split dwarf.
Diffstat (limited to 'lldb/test/Shell/SymbolFile')
-rw-r--r--lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s b/lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s
index 9ecb0b27f73..b045d7de9ab 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s
@@ -82,6 +82,11 @@ lookup_loclists:
.quad .Ltmp1
.Ldebug_addr_end0:
+# The presence of an extra non-dwo loclists section should not confuse us.
+# .debug_info.dwo always refers to .debug_loclists.dwo
+ .section .debug_loclists,"",@progbits
+ .quad 0xdeadbeefbaadf00d
+
.section .debug_loclists.dwo,"e",@progbits
.long .Ldebug_loclist_table_end0-.Ldebug_loclist_table_start0 # Length
.Ldebug_loclist_table_start0:
OpenPOWER on IntegriCloud