[PATCH] D49676: [DWARF] support for .debug_addr (consumer)

Victor Leschuk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 03:11:14 PDT 2018


vleschuk updated this revision to Diff 157210.
vleschuk added a comment.

- Added support for pre-DWARFv5 .debug_addr format (e.g. w/o header)
- Shortened .debug_addr consumer tests
- Moved createError() implementation to llvm::Support
- Relocated dumping above range_list dump
- Moved table length verification inside AddrTable class
- Renamed length() -> getLength()
- Shortened comments
- Fixed mistype in error message


https://reviews.llvm.org/D49676

Files:
  include/llvm/BinaryFormat/Dwarf.def
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/DWARF/DWARFContext.h
  include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
  include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
  include/llvm/Support/Error.h
  lib/DebugInfo/DWARF/CMakeLists.txt
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
  test/tools/llvm-dwarfdump/X86/debug_addr_X86.s
  test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s
  test/tools/llvm-dwarfdump/X86/debug_addr_empty.s
  test/tools/llvm-dwarfdump/X86/debug_addr_invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49676.157210.patch
Type: text/x-patch
Size: 21409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180725/47c92c60/attachment.bin>


More information about the llvm-commits mailing list