aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-extract
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-30 21:43:22 +0000
committerChris Lattner <sabre@nondot.org>2002-07-30 21:43:22 +0000
commit50e3a20b54be93fce84f70075730b8d38c0318d7 (patch)
tree0da71d6761967740f398709bc271261a291245a5 /tools/llvm-extract
parentfa03cc7d68d5b17e42209477e78572836c295fa0 (diff)
downloadexternal_llvm-50e3a20b54be93fce84f70075730b8d38c0318d7.zip
external_llvm-50e3a20b54be93fce84f70075730b8d38c0318d7.tar.gz
external_llvm-50e3a20b54be93fce84f70075730b8d38c0318d7.tar.bz2
Print the tool name when an error comes from so that I can tell which
tool of a pipeline is having issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-extract')
-rw-r--r--tools/llvm-extract/llvm-extract.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-extract/llvm-extract.cpp b/tools/llvm-extract/llvm-extract.cpp
index cfadff0..e904bea 100644
--- a/tools/llvm-extract/llvm-extract.cpp
+++ b/tools/llvm-extract/llvm-extract.cpp
@@ -92,7 +92,7 @@ int main(int argc, char **argv) {
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
if (M.get() == 0) {
- std::cerr << "bytecode didn't read correctly.\n";
+ std::cerr << argv[0] << ": bytecode didn't read correctly.\n";
return 1;
}