Skip to content

Commit 8650410

Browse files
committed
[tsan][NFCI] Add note that GPU libraries may cause shadow mapping incompatibility
1 parent 1fc0a14 commit 8650410

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,12 @@ static void ReExecIfNeeded(bool ignore_heap) {
292292
} else {
293293
Printf(
294294
"FATAL: ThreadSanitizer: memory layout is incompatible, "
295-
"even though ASLR is disabled.\n"
296-
"Please file a bug.\n");
295+
"even though ASLR is disabled.\n");
296+
Printf(
297+
"FATAL: This error may occur for programs that use GPU libraries.");
298+
Printf(
299+
"FATAL: If your program does not use GPU libraries, please file a "
300+
"TSan bug.\n");
297301
DumpProcessMap();
298302
Die();
299303
}

0 commit comments

Comments
 (0)