2016-04-02 07:20:35 +08:00
|
|
|
add_lldb_unittest(SymbolTests
|
|
|
|
TestClangASTContext.cpp
|
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 19:16:26 +08:00
|
|
|
TestDWARFCallFrameInfo.cpp
|
2017-01-10 19:13:59 +08:00
|
|
|
TestType.cpp
|
2017-02-02 06:17:00 +08:00
|
|
|
|
|
|
|
LINK_LIBS
|
|
|
|
lldbHost
|
|
|
|
lldbSymbol
|
2017-06-29 21:02:11 +08:00
|
|
|
lldbUtilityHelpers
|
2018-05-24 06:04:20 +08:00
|
|
|
lldbPluginObjectFileELF
|
2016-04-02 07:20:35 +08:00
|
|
|
)
|
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 19:16:26 +08:00
|
|
|
|
|
|
|
add_dependencies(SymbolTests yaml2obj)
|
|
|
|
add_definitions(-DYAML2OBJ="$<TARGET_FILE:yaml2obj>")
|
|
|
|
set(test_inputs
|
|
|
|
basic-call-frame-info.yaml
|
|
|
|
)
|
|
|
|
add_unittest_inputs(SymbolTests "${test_inputs}")
|