mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +00:00
* Privatize the TargetName
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c56406c236
commit
ab0aa7ff99
@ -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
Block a user