mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-18 17:39:04 +00:00
Make sure CWriter's Context get's initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10a3659101
commit
53448652e4
@ -1816,6 +1816,8 @@ static SpecialGlobalClass getGlobalVariableClass(const GlobalVariable *GV) {
|
||||
|
||||
|
||||
bool CWriter::doInitialization(Module &M) {
|
||||
FunctionPass::doInitialization(M);
|
||||
|
||||
// Initialize
|
||||
TheModule = &M;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user