summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/ObjectFile
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/ObjectFile
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/ObjectFile')
-rw-r--r--lldb/test/Shell/ObjectFile/ELF/section-types.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/lldb/test/Shell/ObjectFile/ELF/section-types.yaml b/lldb/test/Shell/ObjectFile/ELF/section-types.yaml
index caac76a789c..7d59b3b4870 100644
--- a/lldb/test/Shell/ObjectFile/ELF/section-types.yaml
+++ b/lldb/test/Shell/ObjectFile/ELF/section-types.yaml
@@ -13,6 +13,18 @@
# CHECK-LABEL: Name: .debug_types.dwo
# CHECK-NEXT: Type: dwarf-types-dwo
+# CHECK-LABEL: Name: .debug_loc
+# CHECK-NEXT: Type: dwarf-loc
+
+# CHECK-LABEL: Name: .debug_loc.dwo
+# CHECK-NEXT: Type: dwarf-loc-dwo
+
+# CHECK-LABEL: Name: .debug_loclists
+# CHECK-NEXT: Type: dwarf-loclists
+
+# CHECK-LABEL: Name: .debug_loclists.dwo
+# CHECK-NEXT: Type: dwarf-loclists-dwo
+
# CHECK-LABEL: Name: .debug_rnglists
# CHECK-NEXT: Type: dwarf-rnglists
@@ -64,6 +76,22 @@ Sections:
Type: SHT_PROGBITS
AddressAlign: 0x0000000000000001
Content: DEADBEEFBAADF00D
+ - Name: .debug_loc
+ Type: SHT_PROGBITS
+ AddressAlign: 0x0000000000000001
+ Content: DEADBEEFBAADF00D
+ - Name: .debug_loc.dwo
+ Type: SHT_PROGBITS
+ AddressAlign: 0x0000000000000001
+ Content: DEADBEEFBAADF00D
+ - Name: .debug_loclists
+ Type: SHT_PROGBITS
+ AddressAlign: 0x0000000000000001
+ Content: DEADBEEFBAADF00D
+ - Name: .debug_loclists.dwo
+ Type: SHT_PROGBITS
+ AddressAlign: 0x0000000000000001
+ Content: DEADBEEFBAADF00D
- Name: .debug_rnglists
Type: SHT_PROGBITS
AddressAlign: 0x0000000000000001
OpenPOWER on IntegriCloud