[PATCH] D43313: [DebugInfo] Support parsing DWARF expressions

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 13:05:35 PST 2018


rafauler updated this revision to Diff 135128.
rafauler added a comment.

The fact that DataExtractor already has read*LEB128 is an important
point. So I decided to move the only missing helper,
"readEncodedPointer", into DataExtractor. However, it is DWARF-specific.
So I've put it into DWARFDataExtractor and made the necessary
adjustments. I've addressed your other concerns as well, let me know if
this is fine.


Repository:
  rL LLVM

https://reviews.llvm.org/D43313

Files:
  include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
  include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
  include/llvm/Support/ScopedPrinter.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
  lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  test/tools/llvm-readobj/Inputs/trivial.exe.elf-x86-64
  test/tools/llvm-readobj/unwind.test
  tools/llvm-readobj/CMakeLists.txt
  tools/llvm-readobj/DwarfCFIEHPrinter.h
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43313.135128.patch
Type: text/x-patch
Size: 59799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180220/2f2bcf3f/attachment-0001.bin>


More information about the llvm-commits mailing list