[PATCH] [Msan] Generalize mapping facilities to add FreeBSD support

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Nov 26 05:23:55 PST 2014


================
Comment at: lib/msan/msan.h:66
@@ +65,3 @@
+const uptr kShadowBeg   = 0x100000000000;
+const uptr kShadowSize  = 0x110000000000;
+const uptr kOriginsBeg  = 0x380000000000;
----------------
It shall be 0x210000000000. Otherwise, the patch works as expected on Linux and FreeBSD.

http://reviews.llvm.org/D6387






More information about the llvm-commits mailing list