diff options
author | Pavel Labath <labath@google.com> | 2017-06-27 11:16:26 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-06-27 11:16:26 +0000 |
commit | cdda23eb7c8076eddc6182f7bfb373204ea93e85 (patch) | |
tree | 3965b626dba8092a86be4b70ddf6b30ce91661b7 /llvm/lib/CodeGen/RegAllocBase.cpp | |
parent | 7caff0e9e1a43af7c95e14e755779f11cc5a5121 (diff) | |
download | bcm5719-llvm-cdda23eb7c8076eddc6182f7bfb373204ea93e85.tar.gz bcm5719-llvm-cdda23eb7c8076eddc6182f7bfb373204ea93e85.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
0 files changed, 0 insertions, 0 deletions