diff --git a/llvm/tools/jello/jello.cpp b/llvm/tools/jello/jello.cpp index 1add86fa59d6..bb053eb86197 100644 --- a/llvm/tools/jello/jello.cpp +++ b/llvm/tools/jello/jello.cpp @@ -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; } diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 9a30854a6a67..79872394d574 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -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.