[PATCH] D15082: Fix the linking of unit tests in lib/asan

Sumanth Gundapaneni via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 12:11:04 PST 2015


sgundapa added a comment.

At least in this scenario, asan_compile uses "CMAKE_C_FLAGS" and that exposed the issue during the linking. Ideally both compilation and linking use either COMPILER_RT_TEST_COMPILER_CFLAGS . I can push a clean up patch to rename COMPILER_RT_TEST_COMPILER_CFLAGS to COMPILER_RT_TEST_TARGET_CFLAGS.

Also, what is the difference between COMPILER_RT_TEST_COMPILER_CFLAGS and COMPILER_RT_TEST_CFLAGS ? There seem to be an awe-full lot of similar flags , I believe


http://reviews.llvm.org/D15082





More information about the llvm-commits mailing list