[PATCH] D43313: [DebugInfo] Support parsing DWARF expressions
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 12:15:29 PST 2018
rafauler created this revision.
rafauler added reviewers: dblaikie, rafael.
Herald added subscribers: llvm-commits, JDevlieghere, aprantl, mgorny.
This patch refactors the interface of DWARFFrame a little bit
with the goal of making FIEs and CIEs accessible to library users, so
they can process them in client tools that rely on LLVM. It also
enhances DWARFFrame with the capability of parsing CFI DWARF
expressions. To make it self-contained with test cases, it changes
llvm-readobj to be able to dump EH frames and checks they are correct
in a unit test.
The llvm-readobj code is Maksim Panchenko work (maksfb), but I am
supporting it in this patch for the purposes of making it
self-contained.
Repository:
rL LLVM
https://reviews.llvm.org/D43313
Files:
include/llvm/BinaryFormat/Dwarf.h
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
include/llvm/Support/ScopedPrinter.h
lib/BinaryFormat/Dwarf.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.134293.patch
Type: text/x-patch
Size: 56947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180214/378d67d7/attachment.bin>
More information about the llvm-commits
mailing list