[PATCH] D82902: Propogate GenCrashDiag in report_fatal_error
Jacques Pienaar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 11:57:55 PDT 2020
jpienaar created this revision.
jpienaar added a reviewer: lhames.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This GenCrashDiag value is unused and seems to need to gets propagated here.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82902
Files:
llvm/lib/Support/Error.cpp
Index: llvm/lib/Support/Error.cpp
===================================================================
--- llvm/lib/Support/Error.cpp
+++ llvm/lib/Support/Error.cpp
@@ -144,7 +144,7 @@
raw_string_ostream ErrStream(ErrMsg);
logAllUnhandledErrors(std::move(Err), ErrStream);
}
- report_fatal_error(ErrMsg);
+ report_fatal_error(ErrMsg, GenCrashDiag);
}
} // end namespace llvm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82902.274564.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200630/7cbbe445/attachment.bin>
More information about the llvm-commits
mailing list