[PATCH] D50865: [hwasan] Enable Android logging.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 14:56:49 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT339950: [hwasan] Enable Android logging. (authored by eugenis, committed by ).
Herald added a subscriber: Sanitizers.
Changed prior to commit:
https://reviews.llvm.org/D50865?vs=161111&id=161124#toc
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D50865
Files:
lib/hwasan/hwasan.cc
Index: lib/hwasan/hwasan.cc
===================================================================
--- lib/hwasan/hwasan.cc
+++ lib/hwasan/hwasan.cc
@@ -198,6 +198,9 @@
__hwasan_shadow_init();
MadviseShadow();
+ // This may call libc -> needs initialized shadow.
+ AndroidLogInit();
+
InitializeInterceptors();
InstallDeadlySignalHandlers(HwasanOnDeadlySignal);
InstallAtExitHandler(); // Needs __cxa_atexit interceptor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50865.161124.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/a3630ffd/attachment.bin>
More information about the llvm-commits
mailing list