summaryrefslogtreecommitdiff
path: root/tools/llvm-as
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-13 08:45:41 +0000
committerChris Lattner <sabre@nondot.org>2004-07-13 08:45:41 +0000
commit00dd5cd3563192d62751c614f23b0b00244f6a1b (patch)
tree50fac3e731da1a3a322d19e913a4b2bf87b041ad /tools/llvm-as
parent65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b (diff)
downloadllvm-00dd5cd3563192d62751c614f23b0b00244f6a1b.tar.gz
llvm-00dd5cd3563192d62751c614f23b0b00244f6a1b.tar.bz2
llvm-00dd5cd3563192d62751c614f23b0b00244f6a1b.tar.xz
There is no reason to abort and print a stack trace if there is a verification
error. Just print the message like a good little tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-as')
-rw-r--r--tools/llvm-as/llvm-as.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp
index 003ae4d4f8..406f3e3339 100644
--- a/tools/llvm-as/llvm-as.cpp
+++ b/tools/llvm-as/llvm-as.cpp
@@ -57,7 +57,7 @@ int main(int argc, char **argv) {
return 1;
}
- if (!DisableVerify && verifyModule(*M.get())) {
+ if (!DisableVerify && verifyModule(*M.get(), PrintMessageAction)) {
std::cerr << argv[0]
<< ": assembly parsed, but does not verify as correct!\n";
return 1;