[llvm] 435654b - Revert "[CMake] Followup to #102396 and restore old DynamicLibrary symbols behavior (#102671)"

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 22:35:53 PDT 2024


Author: Steven Wu
Date: 2024-08-11T22:35:01-07:00
New Revision: 435654b3d20e338fa6ca6c8d3b7358839f1db5dc

URL: https://github.com/llvm/llvm-project/commit/435654b3d20e338fa6ca6c8d3b7358839f1db5dc
DIFF: https://github.com/llvm/llvm-project/commit/435654b3d20e338fa6ca6c8d3b7358839f1db5dc.diff

LOG: Revert "[CMake] Followup to #102396 and restore old DynamicLibrary symbols behavior (#102671)"

This reverts commit 32973b08d8cb02c213d96df453ff323470304645. This fix
doesn't fix the build failure as expected and making few other
configuration broken too.

Added: 
    

Modified: 
    llvm/unittests/Support/DynamicLibrary/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
index e976cba23ee8cf..d8dff1ef4a3f77 100644
--- a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
+++ b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
@@ -17,9 +17,10 @@ set_output_directory(DynamicLibraryLib
 
 add_llvm_unittest(DynamicLibraryTests
   DynamicLibraryTest.cpp
+
+  EXPORT_SYMBOLS
   )
 target_link_libraries(DynamicLibraryTests PRIVATE DynamicLibraryLib)
-export_executable_symbols(DynamicLibraryTests)
 
 function(dynlib_add_module NAME)
   add_library(${NAME} MODULE


        


More information about the llvm-commits mailing list