summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2018-12-20 22:04:36 +0000
committerTom Stellard <tstellar@redhat.com>2018-12-20 22:04:36 +0000
commit8c020758a08ed397d61066689d7c37aa7e6239df (patch)
tree81811ddb10ff5aba76c42f6d0f4c3f234875bb1c /clang/examples/PrintFunctionNames
parent2f44fbe936fab72921c3daa41fc8bf8f491c55be (diff)
downloadbcm5719-llvm-8c020758a08ed397d61066689d7c37aa7e6239df.tar.gz
bcm5719-llvm-8c020758a08ed397d61066689d7c37aa7e6239df.zip
cmake: Remove uses of add_llvm_loadable_module macro
This was removed from llvm in r349839. llvm-svn: 349840
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r--clang/examples/PrintFunctionNames/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt
index e582b2c45a8..68c6f76dff0 100644
--- a/clang/examples/PrintFunctionNames/CMakeLists.txt
+++ b/clang/examples/PrintFunctionNames/CMakeLists.txt
@@ -9,7 +9,7 @@ if( NOT MSVC ) # MSVC mangles symbols differently, and
endif()
endif()
-add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp PLUGIN_TOOL clang)
+add_llvm_library(PrintFunctionNames MODULE PrintFunctionNames.cpp PLUGIN_TOOL clang)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
target_link_libraries(PrintFunctionNames PRIVATE
OpenPOWER on IntegriCloud