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
2025-06-26 20:28:21 +00:00
committed by GitHub
parent c34d0c7adf
commit fcf445b517
3 changed files with 36 additions and 7 deletions
+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(