[asan] Allow re-exec in instrumented unit tests on Darwin (fix unit tests on macOS...
authorKuba Mracek <mracek@apple.com>
Wed, 30 Nov 2016 00:46:04 +0000 (00:46 +0000)
committerKuba Mracek <mracek@apple.com>
Wed, 30 Nov 2016 00:46:04 +0000 (00:46 +0000)
commit4edffbd28ca49233a03d1e59a313fc6db87d3422
treebdd20d5a9e9161bf92803989c9810aa4df6784dd
parent86bd29afdafda5ca84c575fa9cc8a8a777188211
[asan] Allow re-exec in instrumented unit tests on Darwin (fix unit tests on macOS <=10.10)

This fixes https://llvm.org/bugs/show_bug.cgi?id=30285. On macOS 10.10 and lower, instrumented unit tests still need to be able to re-exec to make interceptors work.

Differential Revision: https://reviews.llvm.org/D24699

llvm-svn: 288224
compiler-rt/lib/asan/tests/asan_test_main.cc