search for: shadow_to_origin

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

2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...} ${PPC64}) - lib/msan/msan.h: diff --git a/lib/msan/msan.h b/lib/msan/msan.h index be74f6e..10b5b05 100644 --- a/lib/msan/msan.h +++ b/lib/msan/msan.h @@ -147,6 +147,26 @@ const MappingDesc kMemoryLayout[] = { #define MEM_TO_SHADOW(mem) (LINEARIZE_MEM((mem)) + 0x100000000000ULL) #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x280000000000) +#elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 32 + +const MappingDesc kMemoryLayout[] = { + {0x00000000ULL, 0x10000000ULL, MappingDesc::APP, "app-1"}, + {0x10000000ULL, 0x20000000ULL, MappingDesc::SHADOW, "shadow-1"}, +...
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