Index: lib/asan/tests/CMakeLists.txt =================================================================== --- lib/asan/tests/CMakeLists.txt +++ lib/asan/tests/CMakeLists.txt @@ -265,7 +265,9 @@ FOLDER "Compiler-RT Runtime tests") add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-inline") - add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-with-calls" + # wcalls stands for "with-calls", keep shorter name this is required by + # some OSes for certain features to work correctly + add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-wcalls" CFLAGS -mllvm -asan-instrumentation-with-call-threshold=0) endforeach() endif()