diff options
author | Tamas Berghammer <tberghammer@google.com> | 2016-02-25 12:23:43 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2016-02-25 12:23:43 +0000 |
commit | 31a2f8f9f55ebdbb02da6c3c08a35fe251c72595 (patch) | |
tree | b0c72671aa1f9a908af990402a49b59b851530a6 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | 72ac8a840fb0ea4d72747b3f5dcf260dcd345672 (diff) | |
download | bcm5719-llvm-31a2f8f9f55ebdbb02da6c3c08a35fe251c72595.tar.gz bcm5719-llvm-31a2f8f9f55ebdbb02da6c3c08a35fe251c72595.zip |
Add support for handling absolute symbols in ELF
Most address represented in lldb as section plus offset and handling of
absolute addresses is problematic in several location because of lack
of necessary information (e.g. Target) or because of performance issues.
This CL change the way ObjectFileELF handle the absolute symbols with
creating a pseudo section for each symbol. With this change all existing
code designed to work with addresses in the form of section plus offset
will work with absolute symbols as well.
Differential revision: http://reviews.llvm.org/D17450
llvm-svn: 261859
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 0b86403354a..07c4be12717 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -1388,6 +1388,7 @@ ObjectFileMachO::GetAddressClass (lldb::addr_t file_addr) case eSectionTypeCompactUnwind: return eAddressClassRuntime; + case eSectionTypeAbsoluteAddress: case eSectionTypeELFSymbolTable: case eSectionTypeELFDynamicSymbols: case eSectionTypeELFRelocationEntries: |