summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
diff options
context:
space:
mode:
authorAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-09-24 15:34:13 +0000
committerAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-09-24 15:34:13 +0000
commit35729bb1f8250df77c8b2d4025fa87d4db777b3b (patch)
tree9344c0de7259def476f3eeed339b79ef3f283869 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
parentfae5f2a9c9e85d89913521ab02d8c75376827332 (diff)
downloadbcm5719-llvm-35729bb1f8250df77c8b2d4025fa87d4db777b3b.tar.gz
bcm5719-llvm-35729bb1f8250df77c8b2d4025fa87d4db777b3b.zip
Adds an option to resolve a symbol from an address that can be used
to build out the symbol table as addresses are used, and implements the mechanism for ELF to add stripped symbols from eh_frame. Uses this mechanism to allow disassembly for addresses corresponding to stripped symbols for ELF, and provide hooks to implement this for PE COFF. Also removes eSymbolContextTailCall in favor of an option for ResolveSymbolContextForAddress for consistency with the documentation for eSymbolContextEverything. Essentially, this is just an option for interpreting the so_addr. llvm-svn: 191307
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
index 2365101f427..d66b6a1f252 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -102,6 +102,9 @@ public:
virtual lldb_private::Symtab *
GetSymtab();
+ virtual lldb_private::Symbol *
+ ResolveSymbolForAddress(const lldb_private::Address& so_addr, bool verify_unique);
+
virtual bool
IsStripped ();
OpenPOWER on IntegriCloud