Print captured stdout/stderr on test crashes (#5740)

Related to #5733, but as a general fix, this will hopefully make it a
little easier to debug test/autoupdate crashes.
This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2025-06-26 20:28:21 +00:00
1 parent c34d0c7adf
commit fcf445b517
3 files changed
+36 -7

No files matched your search

+2
View File
@@ -11,6 +11,8 @@
namespace Carbon {
// Calls `fn` as part of LLVM's pretty stack trace support. Implementations
// should typically have a terminating `\n`.
class PrettyStackTraceFunction : public llvm::PrettyStackTraceEntry {
public:
explicit PrettyStackTraceFunction(