Remove use of target::getName()
authorChris Lattner <sabre@nondot.org>
Sun, 3 Sep 2006 18:38:30 +0000 (18:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Sep 2006 18:38:30 +0000 (18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30069 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index ea18547a71dccb1a2276cd0e39213541657fb47c..917c826ef8d111e573bb0bc41fc0d4d2436215f8 100644 (file)
@@ -222,8 +222,8 @@ int main(int argc, char **argv) {
 
     // Ask the target to add backend passes as necessary.
     if (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) {
-      std::cerr << argv[0] << ": target '" << Target.getName()
-                << "' does not support generation of this file type!\n";
+      std::cerr << argv[0] << ": target does not support generation of this"
+                << " file type!\n";
       if (Out != &std::cout) delete Out;
       // And the Out file is empty and useless, so remove it now.
       sys::Path(OutputFilename).eraseFromDisk();