[asan] Fix vfork handling.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 21 Feb 2019 21:55:06 +0000 (21:55 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 21 Feb 2019 21:55:06 +0000 (21:55 +0000)
commitb5321d7d0b57d2d6b03d241ff4a918c511f1c53b
tree2333a8382e31abef48575faf438445ac0d58b75e
parent50ac8459ec401c79b361fdb67288075c7409c8e7
[asan] Fix vfork handling.

__asan_handle_vfork was unpoisoning the wrong part of the stack.
Adjust the test to catch this reliably (current failure is
non-deterministic).

llvm-svn: 354627
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/test/asan/TestCases/Linux/vfork.cc