[compiler-rt] Re-exec TSan with no ASLR if memory layout is incompatible on Linux (PR #78351)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 17:00:06 PST 2024
================
@@ -214,6 +214,88 @@ void InitializeShadowMemoryPlatform() {
#endif // #if !SANITIZER_GO
+# if !SANITIZER_GO
+static void ReExecIfNeeded() {
+ // Go maps shadow memory lazily and works fine with limited address space.
+ // Unlimited stack is not a problem as well, because the executable
+ // is not compiled with -pie.
+ {
----------------
vitalybuka wrote:
I guess it's copy-pasted
it's noop here, please remove.
https://github.com/llvm/llvm-project/pull/78351
More information about the llvm-commits
mailing list