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

Unified Diff: src/IceCompileServer.cpp

Issue 2247253005: Subzero: Fix build errors with LLVM trunk. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 4 months 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: src/IceCompileServer.cpp
diff --git a/src/IceCompileServer.cpp b/src/IceCompileServer.cpp
index a021f8f49f1695bb579135be80ac7d17162294fa..2f1d9103e124184b4b9e0c0eaab9593cc0c0bfc4 100644
--- a/src/IceCompileServer.cpp
+++ b/src/IceCompileServer.cpp
@@ -171,7 +171,11 @@ void dumpBuildAttributes(Ostream &Str) {
void CLCompileServer::run() {
if (BuildDefs::dump()) {
+#ifdef PNACL_LLVM
llvm::sys::PrintStackTraceOnErrorSignal();
+#else // !PNACL_LLVM
+ llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
+#endif // !PNACL_LLVM
}
ClFlags::parseFlags(argc, argv);
ClFlags &Flags = ClFlags::Flags;

Powered by Google App Engine
This is Rietveld 408576698