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:
db53e30
)
Appeasing an MSVC compile warning about "and"; NFC.
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 23 Oct 2014 21:59:34 +0000
(21:59 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 23 Oct 2014 21:59:34 +0000
(21:59 +0000)
llvm-svn: 220519
compiler-rt/lib/asan/asan_report.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_report.cc
b/compiler-rt/lib/asan/asan_report.cc
index
27f1d34
..
b42d9bc
100644
(file)
--- a/
compiler-rt/lib/asan/asan_report.cc
+++ b/
compiler-rt/lib/asan/asan_report.cc
@@
-441,7
+441,7
@@
bool DescribeAddressIfStack(uptr addr, uptr access_size) {
// especially given that the alloca may be from entirely different place
// (e.g. use-after-scope, or different thread's stack).
StackTrace alloca_stack;
-#if defined(__powerpc64__)
and
defined(__BIG_ENDIAN__)
+#if defined(__powerpc64__)
&&
defined(__BIG_ENDIAN__)
// On PowerPC64 ELFv1, the address of a function actually points to a
// three-doubleword data structure with the first field containing
// the address of the function's code.