Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: tools/llvm-dis/llvm-dis.cpp

Issue 770853002: Fix error reporting in the PNaCl bitcode reader. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix nits. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/llvm-dis/llvm-dis.cpp
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp
index bdce91184a377f36175d2469ce0b2109b2d1be0d..53efbf8a35af6599a4301700f25a1814dcb25b8f 100644
--- a/tools/llvm-dis/llvm-dis.cpp
+++ b/tools/llvm-dis/llvm-dis.cpp
@@ -162,7 +162,8 @@ int main(int argc, char **argv) {
break;
case PNaClFormat:
M.reset(getNaClStreamedBitcodeModule(
- DisplayFilename, Buffer.release(), Context, &ErrorMessage));
+ DisplayFilename, Buffer.release(), Context,
+ /*VerboseErrors=*/true, &ErrorMessage));
break;
default:
ErrorMessage = "Don't understand specified bitcode format";

Powered by Google App Engine
This is Rietveld 408576698