diff options
Diffstat (limited to 'compiler-rt/lib/msan/msan.cpp')
-rw-r--r-- | compiler-rt/lib/msan/msan.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/msan/msan.cpp b/compiler-rt/lib/msan/msan.cpp index 6ea63cb2c48..7095ee1bf20 100644 --- a/compiler-rt/lib/msan/msan.cpp +++ b/compiler-rt/lib/msan/msan.cpp @@ -122,6 +122,10 @@ class FlagHandlerKeepGoing : public FlagHandlerBase { *halt_on_error_ = !tmp; return true; } + bool Format(char *buffer, uptr size) final { + const char *keep_going_str = (*halt_on_error_) ? "false" : "true"; + return FormatString(buffer, size, keep_going_str); + } }; static void RegisterMsanFlags(FlagParser *parser, Flags *f) { |