[all-commits] [llvm/llvm-project] 5af991: [tsan] Fix aarch64-*-linux after D86377

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Mar 10 22:16:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5af991d46497c9473d2a0fd0989aa4ff4e6a0643
      https://github.com/llvm/llvm-project/commit/5af991d46497c9473d2a0fd0989aa4ff4e6a0643
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp

  Log Message:
  -----------
  [tsan] Fix aarch64-*-linux after D86377

All check-tsan tests fail on aarch64-*-linux because HeapMemEnd() > ShadowBeg()
for the following code path:
```
 #if defined(__aarch64__) && !HAS_48_BIT_ADDRESS_SPACE
   ProtectRange(HeapMemEnd(), ShadowBeg());
```

Restore the behavior before D86377 for aarch64-*-linux.




More information about the All-commits mailing list