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

Victor Leschuk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 00:45:59 PDT 2018


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

- Used new createStringError() function
- Shortened tests and added new trivial test-case w/o .debug_addr section
- Used getMaxVersion() to guess which version of .debug_addr we are looking at
- Fixed comment and style issues


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
  lib/DebugInfo/DWARF/CMakeLists.txt
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
  test/tools/llvm-dwarfdump/X86/debug_addr.s
  test/tools/llvm-dwarfdump/X86/debug_addr_absent.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.157429.patch
Type: text/x-patch
Size: 20168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180726/e81cdc74/attachment.bin>


More information about the llvm-commits mailing list