From 00049b8b969f19908ac09df0e1e1debca4271eef Mon Sep 17 00:00:00 2001 From: Matt Kopec Date: Wed, 27 Feb 2013 20:13:38 +0000 Subject: Add GNU indirect function support in expressions for Linux. llvm-svn: 176206 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp') 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; } } -- cgit v1.2.3