llvm-project/lldb/source
Pavel Labath cdda23eb7c Add debug_frame section support
Summary:
This is a beefed-up version of 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).

Reviewers: jasonmolenda, clayborg

Subscribers: mgorny, aprantl, abidh, lldb-commits, tatyana-krasnukha

Differential Revision: https://reviews.llvm.org/D34613

llvm-svn: 306397
2017-06-27 11:16:26 +00:00
..
API Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
Breakpoint Fix error string set in AddName to take a StringRef. 2017-05-17 17:48:55 +00:00
Commands Add debug_frame section support 2017-06-27 11:16:26 +00:00
Core Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
DataFormatters Use exact equality for category language matching, for all languages, except those specifically mentioned. 2017-06-06 20:40:24 +00:00
Expression Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Host Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
Initialization Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
Interpreter Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
Plugins Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
Symbol Add debug_frame section support 2017-06-27 11:16:26 +00:00
Target Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
Utility Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00