[PATCH] Change internal allocator in sanitizer tools
Evgeniy Stepanov
eugenis at google.com
Mon Apr 15 04:06:10 PDT 2013
================
Comment at: lib/sanitizer_common/tests/sanitizer_allocator_test.cc:585
@@ +584,3 @@
+ u64 end = space + size;
+ CHECK_LE(end, (SANITIZER_WORDSIZE == 64) ? 0x800000000000ULL
+ : 0x100000000ULL);
----------------
I'd prefer if (SANITIZER_WORDSIZE == 64) {
all-checks-for-64-bits
} else {
all-checks-for-32-bits
}
http://llvm-reviews.chandlerc.com/D671
More information about the llvm-commits
mailing list