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

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 12:23:40 PDT 2020


clayborg updated this revision to Diff 260721.
clayborg added a comment.

- Updated yaml test case to encoded DW_AT_ranges with a base address entry to verify this works
- Change test case to save yaml to a tmp object file and then run llvm-dwarfdump and obj2yaml on it
- fixed all other issues mentioned in comments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78782/new/

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.260721.patch
Type: text/x-patch
Size: 17238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/040354ae/attachment.bin>


More information about the llvm-commits mailing list