[compiler-rt] r315604 - [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile()

Michal Gorny via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 11:51:37 PDT 2017


Author: mgorny
Date: Thu Oct 12 11:51:37 2017
New Revision: 315604

URL: http://llvm.org/viewvc/llvm-project?rev=315604&view=rev
Log:
[cmake] Fix skipping DEPS (typo) in sanitizer_test_compile()

Fix typo in variable assignment inside sanitizer_test_compile() that
resulted in TEST_DEPS parameter not being included in the clang_compile()
call. Spotted by George Karpenkov in D38444.

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

Modified:
    compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake

Modified: compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake?rev=315604&r1=315603&r2=315604&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake Thu Oct 12 11:51:37 2017
@@ -51,7 +51,7 @@ function(sanitizer_test_compile obj_list
   endif()
   clang_compile(${output_obj} ${source}
                 CFLAGS ${TEST_CFLAGS} ${TARGET_CFLAGS}
-                DEPS ${TEST_COMPILE_DEPS})
+                DEPS ${COMPILE_DEPS})
   list(APPEND ${obj_list} ${output_obj})
   set("${obj_list}" "${${obj_list}}" PARENT_SCOPE)
 endfunction()




More information about the llvm-commits mailing list