Add GNU indirect function support in expressions for Linux.

llvm-svn: 176206
This commit is contained in:
Matt Kopec
2013-02-27 20:13:38 +00:00
parent 2e41976893
commit 00049b8b96
16 changed files with 196 additions and 27 deletions

View File

@@ -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;
}
}