mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:10:12 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user