projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cd4b0
)
There is no reason to abort and print a stack trace if there is a verification
author
Chris Lattner
<sabre@nondot.org>
Tue, 13 Jul 2004 08:45:41 +0000
(08:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 13 Jul 2004 08:45:41 +0000
(08:45 +0000)
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
tools/llvm-as/llvm-as.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-as/llvm-as.cpp
b/tools/llvm-as/llvm-as.cpp
index 003ae4d4f898516b8635c27bd3b817b97870fc16..406f3e33399be2c58d6a1f3900304ecff8a72965 100644
(file)
--- 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;