diff options
author | Than McIntosh <thanm@google.com> | 2022-06-30 09:31:17 -0400 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2022-07-26 10:04:39 -0400 |
commit | b6374437af39af66896da74a1dc1b8a0ece26bee (patch) | |
tree | 3aa291eba201c5f2ed99d095c781c07bdb72c379 /llvm/lib/Bitcode | |
parent | f2b7f18e6375bb7eb6232f35c9ca30da8e20d7c7 (diff) | |
download | llvm-b6374437af39af66896da74a1dc1b8a0ece26bee.zip llvm-b6374437af39af66896da74a1dc1b8a0ece26bee.tar.gz llvm-b6374437af39af66896da74a1dc1b8a0ece26bee.tar.bz2 |
tsan: capture shadow map start/end on init and reuse in reset
Capture the computed shadow begin/end values at the point where the
shadow is first created and reuse those values on reset. Introduce new
windows-specific function "ZeroMmapFixedRegion" for zeroing out an
address space region previously returned by one of the MmapFixed*
routines; call this function (on windows) from DoResetImpl
tsan_rtl.cpp instead of MmapFixedSuperNoReserve.
See https://github.com/golang/go/issues/53539#issuecomment-1168778740
for context; intended to help with updating the syso for Go's
windows/amd64 race detector.
Differential Revision: https://reviews.llvm.org/D128909
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions