mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
0b00a7fc6e5b8dedf26a49014580e8f226937606
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
…
…
…
Languages
LLVM
41.5%
C++
31.7%
C
13%
Assembly
9.1%
MLIR
1.5%
Other
2.8%