forked from OSchip/llvm-project
Make sure CWriter's Context get's initialized.
llvm-svn: 76147
This commit is contained in:
parent
39d6faa31e
commit
d0ed53e711
|
@ -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