[PATCH] D52155: [sanitizer_common] Fuchsia now supports .preinit_array
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 16 22:23:56 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342357: [sanitizer_common] Fuchsia now supports .preinit_array (authored by phosek, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D52155?vs=165695&id=165711#toc
Repository:
rL LLVM
https://reviews.llvm.org/D52155
Files:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -105,8 +105,8 @@
//
// FIXME: do we have anything like this on Mac?
#ifndef SANITIZER_CAN_USE_PREINIT_ARRAY
-#if ((SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_OPENBSD) && \
- !defined(PIC)
+#if ((SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_OPENBSD || \
+ SANITIZER_FUCHSIA) && !defined(PIC)
#define SANITIZER_CAN_USE_PREINIT_ARRAY 1
// Before Solaris 11.4, .preinit_array is fully supported only with GNU ld.
// FIXME: Check for those conditions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52155.165711.patch
Type: text/x-patch
Size: 757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180917/99c0a54a/attachment-0001.bin>
More information about the llvm-commits
mailing list