[PATCH] D83624: [DWARFYAML] Implement the .debug_rnglists section.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 11 07:33:09 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay, aprantl.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
This patch implements the .debug_rnglists section. We are able to
produce the .debug_rnglists section by the following syntax.
debug_rnglists:
- Format: DWARF32 ## Optional
Length: 0x1234 ## Optional
Version: 5 ## Required
AddressSize: 0x08 ## Optional
SegmentSelectorSize: 0x00 ## Optional
OffsetEntryCount: 2 ## Optional
Offsets: [1, 2] ## Optional
Lists:
- Entries:
- Operator: DW_RLE_base_address
Values: [ 0x1234 ]
The generated .debug_rnglists is verified by llvm-dwarfdump, except for
the operator DW_RLE_startx_endx, since llvm-dwarfdump doesn't support
it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83624
Files:
llvm/include/llvm/ObjectYAML/DWARFEmitter.h
llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/lib/ObjectYAML/DWARFEmitter.cpp
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/DWARF/debug-rnglists.yaml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83624.277243.patch
Type: text/x-patch
Size: 39541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200711/74806e50/attachment.bin>
More information about the llvm-commits
mailing list