[PATCH] D78782: Add .debug_ranges support to the DWARF YAML.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 19:34:42 PDT 2020


clayborg created this revision.
clayborg added reviewers: labath, aprantl, JDevlieghere, dblaikie, probinson.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

This allows DIEs with DW_AT_ranges to be encoded and decoded _and_ actually have their address ranges be included instead of having DW_AT_ranges with a section offset value for a section that doesn't exist.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78782

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/MachOEmitter.cpp
  llvm/test/tools/obj2yaml/macho-DWARF-debug-ranges.yaml
  llvm/tools/obj2yaml/dwarf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78782.259785.patch
Type: text/x-patch
Size: 18589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200424/34745c1e/attachment.bin>


More information about the llvm-commits mailing list