diff options
author | Nico Weber <nicolasweber@gmx.de> | 2017-04-11 14:28:49 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2017-04-11 14:28:49 +0000 |
commit | 056881d0b45d6148ab00fa12cb58cd75e4f64e48 (patch) | |
tree | ab59c971536aed0199a879cd88690d2b86fe14b9 /test/sanitizer_common | |
parent | da0f8e2b7891543e9e98e2afadbbabb5e3eea16b (diff) |
Revert r299923, it doesn't build in bootstrap builds.
FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o
lib/sanitizer_common/sanitizer_linux.cc:1340:24: error: invalid instruction
BLX(ip)
^
lib/sanitizer_common/sanitizer_linux.cc:1313:19: note: expanded from macro 'BLX'
# define BLX(R) "mov lr, pc; bx" #R "\n"
^
<inline asm>:6:13: note: instantiated into assembly here
mov lr, pc; bxip
^~~~
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common')
-rw-r--r-- | test/sanitizer_common/print_address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanitizer_common/print_address.h b/test/sanitizer_common/print_address.h index 63d9a93f1..99261b331 100644 --- a/test/sanitizer_common/print_address.h +++ b/test/sanitizer_common/print_address.h @@ -11,7 +11,7 @@ void print_address(const char *str, int n, ...) { // On FreeBSD, the %p conversion specifier works as 0x%x and thus does not // match to the format used in the diagnotic message. fprintf(stderr, "0x%012lx ", (unsigned long) p); -#elif defined(__i386__) || defined(__arm__) +#elif defined(__i386__) fprintf(stderr, "0x%8lx ", (unsigned long) p); #elif defined(__mips64) fprintf(stderr, "0x%010lx ", (unsigned long) p); |