summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
diff options
context:
space:
mode:
authorMaxim Ostapenko <m.ostapenko@partner.samsung.com>2017-01-31 07:15:37 +0000
committerMaxim Ostapenko <m.ostapenko@partner.samsung.com>2017-01-31 07:15:37 +0000
commit651cfe3cfacade3fe010e41ed880f65f582e440e (patch)
treea48530b3e199743b1c714e9fc7f6962ef45c1890 /compiler-rt/lib/sanitizer_common/sanitizer_linux.h
parentc5d0ed5f3a5b2034bd8b436346aab8ef16626e35 (diff)
downloadbcm5719-llvm-651cfe3cfacade3fe010e41ed880f65f582e440e.tar.gz
bcm5719-llvm-651cfe3cfacade3fe010e41ed880f65f582e440e.zip
[lsan] Renable LSan for x86 Linux
The missed clang part was committed at https://reviews.llvm.org/rL293609 thus we can reenable LSan for x86 Linux. Differential Revision: https://reviews.llvm.org/D28609 llvm-svn: 293610
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_linux.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
index d4d0f47eed0..bba8624a9b9 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
@@ -48,7 +48,7 @@ int internal_sigaction_syscall(int signum, const void *act, void *oldact);
#endif
void internal_sigdelset(__sanitizer_sigset_t *set, int signum);
#if defined(__x86_64__) || defined(__mips__) || defined(__aarch64__) \
- || defined(__powerpc64__) || defined(__s390__)
+ || defined(__powerpc64__) || defined(__s390__) || defined(__i386__)
uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
int *parent_tidptr, void *newtls, int *child_tidptr);
#endif
OpenPOWER on IntegriCloud