Skip to content

Commit 29314b4

Browse files
Revert "[CMake] Fix DynamicLibraryTests exports symbol when plugins are enabled (#102941)"
This reverts commit a9604cd. The export list in unit-tests will break sanitizer build since that requires more symbols than listed in the export file.
1 parent e80bc77 commit 29314b4

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

llvm/unittests/Support/DynamicLibrary/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ set_output_directory(DynamicLibraryLib
1515
LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}
1616
)
1717

18-
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/DynamicLibraryTests.exports)
19-
2018
add_llvm_unittest(DynamicLibraryTests
2119
DynamicLibraryTest.cpp
2220

2321
EXPORT_SYMBOLS
2422
)
2523
target_link_libraries(DynamicLibraryTests PRIVATE DynamicLibraryLib)
2624

27-
unset(LLVM_EXPORTED_SYMBOL_FILE)
28-
2925
function(dynlib_add_module NAME)
3026
add_library(${NAME} MODULE
3127
PipSqueak.cpp

llvm/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)