forked from OSchip/llvm-project
Fix bug where `config.asan_dynamic` in generated ASan `lit.site.cfg` files was set to `False` for macOS.
`config.asan_dynamic` should actually be `True` because dylibs are the only supported form of the ASan runtime on Apple platforms. Reviewers: kubamracek, george.karpenkov, samsonov Subscribers: srhines, mgorny, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D53183 llvm-svn: 344324
This commit is contained in:
parent
74ccc7aed0
commit
d11aae5db5
|
@ -56,7 +56,7 @@ foreach(arch ${ASAN_TEST_ARCH})
|
|||
string(TOLOWER "-${arch}-${OS_NAME}" ASAN_TEST_CONFIG_SUFFIX)
|
||||
get_bits_for_arch(${arch} ASAN_TEST_BITS)
|
||||
get_test_cc_for_arch(${arch} ASAN_TEST_TARGET_CC ASAN_TEST_TARGET_CFLAGS)
|
||||
if(ANDROID)
|
||||
if(ANDROID OR APPLE)
|
||||
set(ASAN_TEST_DYNAMIC True)
|
||||
else()
|
||||
set(ASAN_TEST_DYNAMIC False)
|
||||
|
|
Loading…
Reference in New Issue