[Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 19 08:17:50 PST 2016


tberghammer created this revision.
tberghammer added reviewers: ovyalov, clayborg.
tberghammer added a subscriber: lldb-commits.

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.

http://reviews.llvm.org/D17450

Files:
  include/lldb/lldb-enumerations.h
  source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
  source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
  source/Symbol/ObjectFile.cpp
  source/Utility/ConvertEnum.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17450.48498.patch
Type: text/x-patch
Size: 8439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160219/88b9f60e/attachment.bin>


More information about the lldb-commits mailing list