16 #ifndef LLVM_OBJECT_MODULESYMBOLTABLE_H 17 #define LLVM_OBJECT_MODULESYMBOLTABLE_H 39 Module *FirstMod =
nullptr;
42 std::vector<Symbol> SymTab;
73 #endif // LLVM_OBJECT_MODULESYMBOLTABLE_H
uint32_t getSymbolFlags(Symbol S) const
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
An efficient, type-erasing, non-owning reference to a callable.
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
ArrayRef< Symbol > symbols() const
void addModule(Module *M)
static void CollectAsmSymbols(const Module &M, function_ref< void(StringRef, object::BasicSymbolRef::Flags)> AsmSymbol)
Parse inline ASM and collect the symbols that are defined or referenced in the current module...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
std::pair< std::string, uint32_t > AsmSymbol
static void CollectAsmSymvers(const Module &M, function_ref< void(StringRef, StringRef)> AsmSymver)
Parse inline ASM and collect the symvers directives that are defined in the current module...
void printSymbolName(raw_ostream &OS, Symbol S) const
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
A discriminated union of two pointer types, with the discriminator in the low bit of the pointer...