tsan: allow to write memory profile to stdout/stderr



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209811 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: write memory profile in one line (which is much more readable)
e.g.:
RSS 420 MB: shadow:35 meta:231 file:2 mmap:129 trace:19 heap:0 other:0 nthr=1/31
RSS 365 MB: shadow:3 meta:231 file:2 mmap:106 trace:19 heap:0 other:0 nthr=1/31
RSS 429 MB: shadow:23 meta:234 file:2 mmap:143 trace:19 heap:6 other:0 nthr=1/31
RSS 509 MB: shadow:78 meta:241 file:2 mmap:147 trace:19 heap:19 other:0 nthr=1/31




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209813 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Require that options end with '='.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209814 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Add coverage_dir flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209815 91177308-0d34-0410-b5e6-96231b3b80d8