[compiler-rt] [msan][NFCI] Add note that GPU libraries may cause shadow mapping incompatibility (PR #137834)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 09:13:38 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Thurston Dang (thurstond)
<details>
<summary>Changes</summary>
…ompatibility
---
Full diff: https://github.com/llvm/llvm-project/pull/137834.diff
1 Files Affected:
- (modified) compiler-rt/lib/msan/msan.cpp (+3)
``````````diff
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();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/137834
More information about the llvm-commits
mailing list