forked from OSchip/llvm-project
Unbreak the clang build by applying the same temporary
workaround for machine code emitter changes as was used in llvm-gcc. llvm-svn: 72657
This commit is contained in:
parent
4a7b49b56a
commit
6674a492c4
|
@ -250,7 +250,8 @@ bool BackendConsumer::AddEmitPasses(std::string &Error) {
|
|||
break;
|
||||
}
|
||||
|
||||
if (TM->addPassesToEmitFileFinish(*CodeGenPasses, 0, OptLevel)) {
|
||||
if (TM->addPassesToEmitFileFinish(*CodeGenPasses, (MachineCodeEmitter *)0,
|
||||
OptLevel)) {
|
||||
Error = "Unable to interface with target machine!\n";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue