diff options
| author | Julian Lettner <jlettner@apple.com> | 2019-01-31 01:24:01 +0000 |
|---|---|---|
| committer | Julian Lettner <jlettner@apple.com> | 2019-01-31 01:24:01 +0000 |
| commit | 1292fed3c2a92880a284f659e5f60a0cdda90b30 (patch) | |
| tree | 5baa1f76721b0f2cbe4663ce64f819a335bef643 /lib/fuzzer/FuzzerUtilPosix.cpp | |
| parent | 11c441a4215bedd053fb1816b3b3094f53ccefbd (diff) | |
| download | compiler-rt-1292fed3c2a92880a284f659e5f60a0cdda90b30.tar.gz | |
[libFuzzer] Set default sanitizer options in fuzzer tests
Summary:
Set default `ASAN_OPTIONS` when running libFuzzer tests. This allows us
to remove special casing in code for Darwin where we usually pass
`abort_on_error=0` to override platform defaults for tests.
A previous commit changed the code to make the tests pass:
https://github.com/llvm/llvm-project/commit/7764a04af007eca68eafcf5caaea560ed05e35a9
Adapted a few tests to use `%env_asan_opts=` instead of directly setting
the environment variable.
rdar://problem/47515276
Reviewers: kcc, george.karpenkov
Differential Revision: https://reviews.llvm.org/D57465
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@352711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerUtilPosix.cpp')
0 files changed, 0 insertions, 0 deletions
