Add GNU indirect function support in expressions for Linux.

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

No files matched your search

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