mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
add bitcode alias support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,6 +57,7 @@ class BitcodeReader : public ModuleProvider {
|
||||
std::vector<PATypeHolder> TypeList;
|
||||
BitcodeReaderValueList ValueList;
|
||||
std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits;
|
||||
std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits;
|
||||
public:
|
||||
BitcodeReader() : ErrorString(0) {}
|
||||
virtual ~BitcodeReader() {}
|
||||
@@ -93,6 +94,7 @@ private:
|
||||
bool ParseTypeSymbolTable(BitstreamReader &Stream);
|
||||
bool ParseValueSymbolTable(BitstreamReader &Stream);
|
||||
bool ParseConstants(BitstreamReader &Stream);
|
||||
bool ResolveGlobalAndAliasInits();
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user