[PATCH] D46454: [sanitizer] Trivial portion of the port to Myriad RTEMS
Walter Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 4 13:45:44 PDT 2018
waltl created this revision.
waltl added reviewers: vitalybuka, eugenis, alekseyshl.
Herald added subscribers: fedor.sergeev, krytarowski, kubamracek, srhines.
This commit contains the trivial portion of the port of ASan to
Myriad RTEMS.
- Whitelist platform in sanitizer_platform.h, ubsan_platform.h
- Turn off general interception
- Enable memintrinsics interception
- Use memset for FastPoisonShadow
- Define interception wrappers
- Set errno symbol correctly
- Enable ASAN_LOW_MEMORY
- Enable preinit array
- Disable slow unwinding
- Use fuchsia offline symbolizer
- Disable common code for: InitializeShadowMemory, CreateMainThread, AsanThread::ThreadStart, StartReportDeadlySignal, MaybeReportNonExecRegion.
- Also include a header asan_interceptors_memintrinsics.cc so that it compiles for RTEMS.
Repository:
rL LLVM
https://reviews.llvm.org/D46454
Files:
compiler-rt/lib/asan/asan_interceptors.cc
compiler-rt/lib/asan/asan_interceptors.h
compiler-rt/lib/asan/asan_interceptors_memintrinsics.cc
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_poisoning.h
compiler-rt/lib/asan/asan_shadow_setup.cc
compiler-rt/lib/asan/asan_thread.cc
compiler-rt/lib/interception/interception.h
compiler-rt/lib/sanitizer_common/sanitizer_errno.h
compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cc
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cc
compiler-rt/lib/ubsan/ubsan_platform.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46454.145272.patch
Type: text/x-patch
Size: 13263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/06129540/attachment.bin>
More information about the llvm-commits
mailing list