[Lldb-commits] [PATCH] D34613: Add debug_frame section support

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 26 04:44:23 PDT 2017


labath created this revision.
Herald added subscribers: aprantl, mgorny.

This is a beefed-up version of https://reviews.llvm.org/D33504, which adds support for dwarf 4
debug_frame section format.

The main difference here is that the decision whether to use eh_frame or
debug_frame is done on a per-function basis instead of per-object file.
This is necessary because one module can contain both sections (for
example, the start files added by the linker will typically pull in
eh_frame), but we want to be able to access both, for maximum
information.

I also add unit test for parsing various CFI formats (eh_frame,
debug_frame v3 and debug_frame v4).


https://reviews.llvm.org/D34613

Files:
  include/lldb/Symbol/DWARFCallFrameInfo.h
  include/lldb/Symbol/FuncUnwinders.h
  include/lldb/Symbol/UnwindTable.h
  source/Commands/CommandObjectTarget.cpp
  source/Symbol/DWARFCallFrameInfo.cpp
  source/Symbol/FuncUnwinders.cpp
  source/Symbol/UnwindTable.cpp
  unittests/Symbol/CMakeLists.txt
  unittests/Symbol/Inputs/basic-call-frame-info.yaml
  unittests/Symbol/TestDWARFCallFrameInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34613.103922.patch
Type: text/x-patch
Size: 34763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170626/57b1e0e9/attachment-0001.bin>


More information about the lldb-commits mailing list