diff options
author | Siva Chandra <sivachandra@google.com> | 2015-12-16 00:22:08 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-12-16 00:22:08 +0000 |
commit | d8335e9ab419fd75c34acf8d44f234b92df7b8b0 (patch) | |
tree | e95e105a7d0b93f9af2585ada43f3ac29eb3b312 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | d8f719fa1cab1c99e58c080ea19b9d7043163749 (diff) | |
download | bcm5719-llvm-d8335e9ab419fd75c34acf8d44f234b92df7b8b0.tar.gz bcm5719-llvm-d8335e9ab419fd75c34acf8d44f234b92df7b8b0.zip |
Read macro info from .debug_macro section and use it for expression evaluation.
Summary:
DWARF 5 proposes a reinvented .debug_macro section. This change follows
that spec.
Currently, only GCC produces the .debug_macro section and hence
the added test is annottated with expectedFailureClang.
Reviewers: spyffe, clayborg, tberghammer
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D15437
llvm-svn: 255729
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index 0720c5e8cc9..9c1e1778250 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -1369,6 +1369,7 @@ ObjectFileMachO::GetAddressClass (lldb::addr_t file_addr) case eSectionTypeDWARFDebugLine: case eSectionTypeDWARFDebugLoc: case eSectionTypeDWARFDebugMacInfo: + case eSectionTypeDWARFDebugMacro: case eSectionTypeDWARFDebugPubNames: case eSectionTypeDWARFDebugPubTypes: case eSectionTypeDWARFDebugRanges: |