diff options
author | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-18 07:22:26 +0000 |
---|---|---|
committer | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-18 07:22:26 +0000 |
commit | 35460601902dcd75b79e4be9e13a5feff6610682 (patch) | |
tree | 7d36915c34308ec1f006351a49ecb26804d9449f /libcxx | |
parent | 133a72069ed6a65a9f4589b00171418342e2bba9 (diff) | |
download | bcm5719-llvm-35460601902dcd75b79e4be9e13a5feff6610682.tar.gz bcm5719-llvm-35460601902dcd75b79e4be9e13a5feff6610682.zip |
[sanitizer] Don't include <linux/user.h> in sanitizer_stoptheworld_linux_libcdep.cc on ARM Android
Turned out that adding defined(_arm_) in sanitizer_stoptheworld_linux_libcdep.cc breaks android arm with some toolchains.
.../llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:36:11: fatal error:
'linux/user.h' file not found
# include <linux/user.h> // for pt_regs
^
1 error generated.
Context:
#if SANITIZER_ANDROID && defined(__arm__)
# include <linux/user.h> // for pt_regs
#else
This patch removes corresponding #if SANITIZER_ANDROID && defined(__arm__) and a bit rearranges adjacent сode.
Differential Revision: https://reviews.llvm.org/D32128
llvm-svn: 300531
Diffstat (limited to 'libcxx')
0 files changed, 0 insertions, 0 deletions