diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-28 21:24:29 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-10-28 21:24:29 +0000 |
| commit | 0b00a7fc6e5b8dedf26a49014580e8f226937606 (patch) | |
| tree | 5f92d747092eb54e31b58486d753066dd317c4bc /clang/lib/Index/IndexingAction.cpp | |
| parent | 8586b78692551adba5808f37c657076541f40b00 (diff) | |
| download | bcm5719-llvm-0b00a7fc6e5b8dedf26a49014580e8f226937606.tar.gz bcm5719-llvm-0b00a7fc6e5b8dedf26a49014580e8f226937606.zip | |
tsan: round Go shadow to page boundary
There is a corner case reported in Go issue tracker:
https://github.com/golang/go/issues/17065
On darwin data/bss segments may not be aligned to page bounary
and mmap seems to be behaving differently than on linux
(shrinks instead of enlarge unaligned regions).
Explicitly round shadow to page bounary before mapping
to avoid any such problems.
llvm-svn: 285454
Diffstat (limited to 'clang/lib/Index/IndexingAction.cpp')
0 files changed, 0 insertions, 0 deletions

