summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_rtems.h
diff options
context:
space:
mode:
authorWalter Lee <waltl@google.com>2018-05-30 04:57:29 +0000
committerWalter Lee <waltl@google.com>2018-05-30 04:57:29 +0000
commit3dc6cea0e3dffd6542180d1374b50962a363260e (patch)
tree99c0432becc7a20c00c512c78489127f3666aa57 /compiler-rt/lib/sanitizer_common/sanitizer_rtems.h
parent0a70e9db035eba6432718820943bf6c02cbbb7e3 (diff)
downloadbcm5719-llvm-3dc6cea0e3dffd6542180d1374b50962a363260e.tar.gz
bcm5719-llvm-3dc6cea0e3dffd6542180d1374b50962a363260e.zip
[asan, myriad] Simplify main thread handling
On Myriad RTEMS, we don't need to treat the main thread differently. The existing thread hooks will do the right thing, so get rid of all the unneeded special logic. Differential Revision: https://reviews.llvm.org/D47502 llvm-svn: 333504
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_rtems.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_rtems.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_rtems.h b/compiler-rt/lib/sanitizer_common/sanitizer_rtems.h
index e2f668ff9e8..968fa66e1be 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_rtems.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_rtems.h
@@ -17,12 +17,5 @@
#if SANITIZER_RTEMS
#include "sanitizer_common.h"
-namespace __sanitizer {
-
-extern uptr MainThreadStackBase, MainThreadStackSize;
-extern uptr MainThreadTlsBase, MainThreadTlsSize;
-
-} // namespace __sanitizer
-
#endif // SANITIZER_RTEMS
#endif // SANITIZER_RTEMS_H
OpenPOWER on IntegriCloud