From 0a2d5cb133119e8f93613d9c292fa4ca45702eb3 Mon Sep 17 00:00:00 2001 From: Thurston Dang Date: Tue, 29 Apr 2025 16:09:34 +0000 Subject: [PATCH] [msan][NFCI] Add note that GPU libraries may cause shadow mapping incompatibility --- compiler-rt/lib/msan/msan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler-rt/lib/msan/msan.cpp b/compiler-rt/lib/msan/msan.cpp index a3c0c2e485af3..0361630b54f97 100644 --- a/compiler-rt/lib/msan/msan.cpp +++ b/compiler-rt/lib/msan/msan.cpp @@ -483,6 +483,9 @@ void __msan_init() { Printf("FATAL: Disabling ASLR is known to cause this error.\n"); Printf("FATAL: If running under GDB, try " "'set disable-randomization off'.\n"); + Printf( + "FATAL: This error may also occur for programs that use GPU " + "libraries.\n"); DumpProcessMap(); Die(); }