From 2ecd34e869dbc72a07242010af5d5d9185d46153 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 Sep 2006 18:38:30 +0000 Subject: [PATCH] Remove use of target::getName() llvm-svn: 30069 --- llvm/tools/llc/llc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index ea18547a71dc..917c826ef8d1 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -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();