Reland "[DebugInfo] Support DWARF expressions in eh_frame"
authorRafael Auler <rafaelauler@fb.com>
Thu, 8 Mar 2018 00:46:53 +0000 (00:46 +0000)
committerRafael Auler <rafaelauler@fb.com>
Thu, 8 Mar 2018 00:46:53 +0000 (00:46 +0000)
commit86fb7bf2bca553bc7137e85d0ac0c7a809e16c80
tree6af7787dea9d397d6c399d683cbeff5d2dbd17db
parenta4259cd3a6268d6b7e27acd45fd6f114e2ac9ac2
Reland "[DebugInfo] Support DWARF expressions in eh_frame"

Summary:
Original change was D43313 (r326932) and reverted by r326953 because it
broke an LLD test and a windows build. The LLD test was already fixed in
lld commit r326944 (thanks maskray). This is the original change with
the windows build fixed.

llvm-svn: 326970
14 files changed:
llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
llvm/include/llvm/Support/ScopedPrinter.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/llvm-readobj/Inputs/dwarf-exprs.exe-x86-64.yaml [new file with mode: 0644]
llvm/test/tools/llvm-readobj/unwind.test [new file with mode: 0644]
llvm/tools/llvm-readobj/CMakeLists.txt
llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h [new file with mode: 0644]
llvm/tools/llvm-readobj/ELFDumper.cpp