Index: compiler-rt/trunk/lib/scudo/scudo_utils.cpp =================================================================== --- compiler-rt/trunk/lib/scudo/scudo_utils.cpp +++ compiler-rt/trunk/lib/scudo/scudo_utils.cpp @@ -50,6 +50,9 @@ internal_memcpy(Message, ScudoError, PrefixSize); VSNPrintf(Message + PrefixSize, sizeof(Message) - PrefixSize, Format, Args); va_end(Args); + LogMessageOnPrintf(Message); + if (common_flags()->abort_on_error) + SetAbortMessage(Message); RawWrite(Message); Die(); }