diff options
author | Matt Kopec <Matt.Kopec@intel.com> | 2013-02-27 20:13:38 +0000 |
---|---|---|
committer | Matt Kopec <Matt.Kopec@intel.com> | 2013-02-27 20:13:38 +0000 |
commit | 00049b8b969f19908ac09df0e1e1debca4271eef (patch) | |
tree | 2137b2c54fd50092ab429d44f4fa5d3c90eee4bf /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 2e419768938efe2dff0767490791f71976d00e54 (diff) | |
download | bcm5719-llvm-00049b8b969f19908ac09df0e1e1debca4271eef.tar.gz bcm5719-llvm-00049b8b969f19908ac09df0e1e1debca4271eef.zip |
Add GNU indirect function support in expressions for Linux.
llvm-svn: 176206
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index 2cee5c01da9..42bfefe8d62 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -784,6 +784,12 @@ ParseSymbols(Symtab *symtab, // STB_LOCAL symbols for the file, if it is present. symbol_type = eSymbolTypeObjectFile; break; + + case STT_GNU_IFUNC: + // The symbol is associated with an indirect function. The actual + // function will be resolved if it is referenced. + symbol_type = eSymbolTypeResolver; + break; } } |