forked from OSchip/llvm-project
parent
b848956370
commit
e72f06b575
|
@ -49,7 +49,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
PassManager Passes;
|
||||
if (Target.addPassesToJITCompile(Passes)) {
|
||||
std::cerr << argv[0] << ": target '" << Target.TargetName
|
||||
std::cerr << argv[0] << ": target '" << Target.getName()
|
||||
<< "' doesn't support JIT compilation!\n";
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -283,7 +283,7 @@ main(int argc, char **argv)
|
|||
|
||||
// Ask the target to add backend passes as neccesary
|
||||
if (Target.addPassesToEmitAssembly(Passes, *Out)) {
|
||||
cerr << argv[0] << ": target '" << Target.TargetName
|
||||
cerr << argv[0] << ": target '" << Target.getName()
|
||||
<< " does not support static compilation!\n";
|
||||
} else {
|
||||
// Run our queue of passes all at once now, efficiently.
|
||||
|
|
Loading…
Reference in New Issue