projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff4921
)
[asan] Since x32 has 32-bit pointers, it should use the same code sequence as ia32...
author
Kostya Serebryany
<kcc@google.com>
Tue, 3 Mar 2015 02:45:21 +0000
(
02:45
+0000)
committer
Kostya Serebryany
<kcc@google.com>
Tue, 3 Mar 2015 02:45:21 +0000
(
02:45
+0000)
llvm-svn: 231052
compiler-rt/lib/asan/tests/asan_asm_test.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/tests/asan_asm_test.cc
b/compiler-rt/lib/asan/tests/asan_asm_test.cc
index
1d8b04d
..
200de2c
100644
(file)
--- a/
compiler-rt/lib/asan/tests/asan_asm_test.cc
+++ b/
compiler-rt/lib/asan/tests/asan_asm_test.cc
@@
-232,7
+232,7
@@
TEST(AddressSanitizer, asm_flags) {
long magic = 0x1234;
long r = 0x0;
-#if defined(__x86_64__)
+#if defined(__x86_64__)
&& !defined(__ILP32__)
__asm__("xorq %%rax, %%rax \n\t"
"movq (%[p]), %%rax \n\t"
"sete %%al \n\t"
@@
-248,7
+248,7
@@
TEST(AddressSanitizer, asm_flags) {
: [r] "=r"(r)
: [p] "r"(&magic)
: "eax", "memory");
-#endif // defined(__x86_64__)
+#endif // defined(__x86_64__)
&& !defined(__ILP32__)
ASSERT_EQ(0x1, r);
}