diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-11 18:30:25 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-11 18:30:25 +0000 |
commit | 3a41ed15743a1a6bd7d0bcc3ed627dcba692c05c (patch) | |
tree | bbc563bbc69ac8db1ddd235f01baa43f21fd446d /libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval.pass.cpp | |
parent | bf3d4465289f605b0cfd1b31749845de4aaee837 (diff) | |
download | bcm5719-llvm-3a41ed15743a1a6bd7d0bcc3ed627dcba692c05c.tar.gz bcm5719-llvm-3a41ed15743a1a6bd7d0bcc3ed627dcba692c05c.zip |
[Sanitizer] Fix report_path functionality:
Summary:
- Make sure mmap() is never called inside RawWrite function.
- Wrap a bunch of standalone globals in a ReportFile object.
- Make sure accesses to these globals are thread-safe.
- Fix report_path functionality on Windows, where
__sanitizer_set_report_path() would break program.
I've started this yak shaving in order to make
"CommonFlags::mmap_limit_mb" immutable. Currently we drop this flag
to zero before printing an error message.
Test Plan: regression test suite
Reviewers: kcc, glider
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6595
llvm-svn: 224031
Diffstat (limited to 'libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/eval.pass.cpp')
0 files changed, 0 insertions, 0 deletions