search for: checkmemorylayoutsanity

Displaying 2 results from an estimated 2 matches for "checkmemorylayoutsanity".

2017 Oct 04
2
Fix for PR24155 on PPC
It would appear that the fix for https://bugs.llvm.org/show_bug.cgi?id=24155 really only applies to X86. Which I suppose is fine since that's where the bug was reported. However, we've recently upgraded the OS's on some of our PPC64 systems and are hitting the same problems. I certainly wouldn't mind providing a similar fix for PPC, but I don't know what the values in
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...LINUX_X86_64_OLD_MAPPING) static const uptr kAllocatorSpace = 0x700000000000ULL; - lib/msan/msan_linux.cc: diff --git a/lib/msan/msan_linux.cc b/lib/msan/msan_linux.cc index d6a9588..ca59564 100644 --- a/lib/msan/msan_linux.cc +++ b/lib/msan/msan_linux.cc @@ -82,7 +82,7 @@ static void CheckMemoryLayoutSanity() { CHECK_LT(start, end); CHECK_EQ(prev_end, start); CHECK(addr_is_type(start, type)); - CHECK(addr_is_type((start + end) / 2, type)); + CHECK(addr_is_type(start/2 + end/2, type)); CHECK(addr_is_type(end - 1, type)); if (type == MappingDesc::APP) { uptr addr =...