diff options
author | Walter Lee <waltl@google.com> | 2018-05-18 00:43:54 +0000 |
---|---|---|
committer | Walter Lee <waltl@google.com> | 2018-05-18 00:43:54 +0000 |
commit | 458805f19b875ba108f5e6e1f342ecf498fb297f (patch) | |
tree | 545914f3b9e3d87936930dadb2789bea10245ac3 /lib/sanitizer_common/sanitizer_symbolizer_report.cc | |
parent | abcaa923f16eb45c8a9a450d783c7bc01c36b267 (diff) |
[sanitizer] Trivial portion of the port to Myriad RTEMS
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
- 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.
Differential Revision: https://reviews.llvm.org/D46454
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_symbolizer_report.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_symbolizer_report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_symbolizer_report.cc b/lib/sanitizer_common/sanitizer_symbolizer_report.cc index 1081ec359..fd26d4cfa 100644 --- a/lib/sanitizer_common/sanitizer_symbolizer_report.cc +++ b/lib/sanitizer_common/sanitizer_symbolizer_report.cc @@ -117,7 +117,7 @@ void ReportMmapWriteExec(int prot) { #endif } -#if !SANITIZER_FUCHSIA && !SANITIZER_GO +#if !SANITIZER_FUCHSIA && !SANITIZER_RTEMS && !SANITIZER_GO void StartReportDeadlySignal() { // Write the first message using fd=2, just in case. // It may actually fail to write in case stderr is closed. |