[PATCH] D48902: [scudo] Add some logs for Android
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 6 09:55:02 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL336445: [scudo] Add some logs for Android (authored by cryptoad, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D48902
Files:
compiler-rt/trunk/lib/scudo/scudo_utils.cpp
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();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48902.154429.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180706/8d153dcb/attachment.bin>
More information about the llvm-commits
mailing list