[PATCH] [compiler-rt] fix and simplify GetMaxVirtualAddress for ppc64*
Kostya Serebryany
kcc at google.com
Mon Nov 3 14:16:55 PST 2014
================
Comment at: lib/sanitizer_common/sanitizer_posix.cc:89
@@ -90,1 +88,3 @@
+ // This should work for both PowerPC64 Endian modes.
+ return (1ULL << (MostSignificantSetBitIndex(GET_CURRENT_FRAME())+1)) -1;
# elif defined(__aarch64__)
----------------
space is missing between '-' and '1'.
http://reviews.llvm.org/D6044
More information about the llvm-commits
mailing list