[compiler-rt] [tsan][NFCI] Add note that GPU libraries may cause shadow mapping incompatibility (PR #137835)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri May 2 17:10:35 PDT 2025
================
@@ -292,8 +292,12 @@ static void ReExecIfNeeded(bool ignore_heap) {
} else {
Printf(
"FATAL: ThreadSanitizer: memory layout is incompatible, "
- "even though ASLR is disabled.\n"
- "Please file a bug.\n");
+ "even though ASLR is disabled.\n");
+ Printf(
+ "FATAL: This error may occur for programs that use GPU libraries.");
----------------
vitalybuka wrote:
You are changing the lib which maps a lot of memory.
Lets just print generic link to:
https://clang.llvm.org/docs/ThreadSanitizer.html#limitations
and add entry about your discovery
https://github.com/llvm/llvm-project/pull/137835
More information about the llvm-commits
mailing list