Skip to content

Commit 2a2c859

Browse files
author
serge-sans-paille
committed
WIP
1 parent 50f9940 commit 2a2c859

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ endfunction(add_llvm_pass_plugin)
881881
# Also correctly set lib dependencies between plugins and tools.
882882
function(process_llvm_pass_plugins)
883883
get_property(LLVM_EXTENSIONS GLOBAL PROPERTY LLVM_COMPILE_EXTENSIONS)
884+
message(STATUS ">>>> ${LLVM_EXTENSIONS}")
884885
file(WRITE "${CMAKE_BINARY_DIR}/include/llvm/Support/Extension.def.tmp" "//extension handlers\n")
885886
foreach(llvm_extension ${LLVM_EXTENSIONS})
886887
string(TOLOWER ${llvm_extension} llvm_extension_lower)
@@ -890,6 +891,7 @@ function(process_llvm_pass_plugins)
890891
string(SUBSTRING ${llvm_extension_lower} 1 -1 llvm_extension_lower_tail)
891892
string(CONCAT llvm_extension_project ${llvm_extension_upper_first} ${llvm_extension_lower_tail})
892893

894+
message(STATUS ">>>> ${llvm_extension_upper}: ${LLVM_${llvm_extension_upper}_LINK_INTO_TOOLS}")
893895
if(LLVM_${llvm_extension_upper}_LINK_INTO_TOOLS)
894896
file(APPEND "${CMAKE_BINARY_DIR}/include/llvm/Support/Extension.def.tmp" "HANDLE_EXTENSION(${llvm_extension_project})\n")
895897

0 commit comments

Comments
 (0)