mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 21:51:56 +00:00
Add GNU indirect function support in expressions for Linux.
llvm-svn: 176206
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user