summaryrefslogtreecommitdiff
path: root/tools/llvm-as/llvm-as.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-as/llvm-as.cpp')
-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;