Symbol table built from in-memory IR modules.
Declared in <llvm/Object/ModuleSymbolTable.h>
class ModuleSymbolTable;
Provides access to GlobalValues and should only be used if such access is required (e.g. in the LTO implementation).
| Name | Description |
|---|---|
AsmSymbol | Assembly symbol name paired with its BasicSymbolRef flags. |
Symbol | Either an IR GlobalValue or an assembly AsmSymbol entry. |
| Name | Description |
|---|---|
addModule | Record symbols from module M into this table. |
getSymbolFlags | Flags for symbol S (bitwise OR of BasicSymbolRef::Flags). |
printSymbolName | Print the name of symbol S to OS. |
symbols | Returns the symbols recorded in this table. |
| Name | Description |
|---|---|
CollectAsmSymbols | Parse inline ASM and collect the symbols that are defined or referenced in the current module. |
CollectAsmSymvers | Parse inline ASM and collect the symvers directives that are defined in the current module. |