Index: lib/Transforms/Instrumentation/MemorySanitizer.cpp =================================================================== --- lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -242,10 +242,10 @@ // mips64 Linux static const MemoryMapParams Linux_MIPS64_MemoryMapParams = { - 0x004000000000, // AndMask - 0, // XorMask (not used) + 0, // AndMask (not used) + 0x002000000000, // XorMask 0, // ShadowBase (not used) - 0x002000000000, // OriginBase + 0x001000000000, // OriginBase }; // ppc64 Linux