aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2021-12-15 17:29:08 -0800
committerJulian Lettner <julian.lettner@apple.com>2021-12-15 18:03:58 -0800
commit8f1ea2e85ca64dd706824fb7f5ea15c678a15dde (patch)
tree153b0bc22c2180cad33845132d42ee4e0dc32e71 /llvm/lib/Object/MachOObjectFile.cpp
parentb0211de5e30a92aef68ceaf43e5042f610d7333f (diff)
downloadllvm-8f1ea2e85ca64dd706824fb7f5ea15c678a15dde.zip
llvm-8f1ea2e85ca64dd706824fb7f5ea15c678a15dde.tar.gz
llvm-8f1ea2e85ca64dd706824fb7f5ea15c678a15dde.tar.bz2
[TSan][Darwin] Fix CheckAndProtect() for MappingAppleAarch64
In the new TSan runtime refactoring this line was changed: ``` ProtectRange(MetaShadowEnd(), TraceMemBeg()); --> ProtectRange(MetaShadowEnd(), HeapMemBeg()); ``` But for `MappingAppleAarch64` the app heap comes before the shadow, resulting in: ``` CHECK failed: tsan_platform_posix.cpp:83 "((beg)) <= ((end))" (0xe00000000, 0x200000000) ``` rdar://86521924 Differential Revision: https://reviews.llvm.org/D115834
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions