[compiler-rt] [msan][NFCI] Add note that GPU libraries may cause shadow mapping inc… (PR #137834)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 09:13:02 PDT 2025
https://github.com/thurstond created https://github.com/llvm/llvm-project/pull/137834
…ompatibility
>From 0a2d5cb133119e8f93613d9c292fa4ca45702eb3 Mon Sep 17 00:00:00 2001
From: Thurston Dang <thurston at google.com>
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();
}
More information about the llvm-commits
mailing list