[PATCH] D46454: [sanitizer] Trivial portion of the port to Myriad RTEMS

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 14:03:59 PDT 2018


waltl marked an inline comment as done.
waltl added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:104
 #if ((SANITIZER_LINUX && !SANITIZER_ANDROID) || \
-  SANITIZER_FREEBSD || SANITIZER_OPENBSD) && !defined(PIC)
+  SANITIZER_FREEBSD || SANITIZER_OPENBSD || SANITIZER_RTEMS) && !defined(PIC)
 # define SANITIZER_CAN_USE_PREINIT_ARRAY 1
----------------
krytarowski wrote:
> I think it will look better if we will split OSes here and document what linker, what versions supports what.
I reverted the change -- turns out we don't need it.


Repository:
  rL LLVM

https://reviews.llvm.org/D46454





More information about the llvm-commits mailing list