[MSAN][MIPS] Fix fork.cc test on MIPS
authorSagar Thakur <sagar.thakur@imgtec.com>
Thu, 8 Dec 2016 06:30:58 +0000 (06:30 +0000)
committerSagar Thakur <sagar.thakur@imgtec.com>
Thu, 8 Dec 2016 06:30:58 +0000 (06:30 +0000)
commit76a878b8f86772ad8b6451a1b86772302649a54f
tree0900f820f4a8ac96af6ec4316c165c1af444a63a
parentb3a3cd1f4ebe11abfd2297c535ab0858e6a4818a
[MSAN][MIPS] Fix fork.cc test on MIPS

Summary: For platforms which support slow unwinder only, we restrict the store context size to 1, basically only storing the current pc. We do this because the slow unwinder which is based on libunwind is not async signal safe and causes random freezes in forking applications as well as in signal handlers.

Reviewed by eugenis.
Differential: D23107

llvm-svn: 289027
compiler-rt/lib/msan/msan.h
compiler-rt/test/msan/chained_origin.cc
compiler-rt/test/msan/chained_origin_limits.cc
compiler-rt/test/msan/chained_origin_memcpy.cc
compiler-rt/test/msan/lit.cfg
compiler-rt/test/msan/msan_copy_shadow.cc
compiler-rt/test/msan/realloc-large-origin.cc