Index: source/API/CMakeLists.txt =================================================================== --- source/API/CMakeLists.txt +++ source/API/CMakeLists.txt @@ -106,10 +106,6 @@ MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb namespace") add_llvm_symbol_exports(liblldb ${CMAKE_CURRENT_SOURCE_DIR}/liblldb.exports) else() - # Don't use an explicit export. Instead, tell the linker to - # export all symbols. - MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb and lldb_private namespaces") - add_llvm_symbol_exports(liblldb ${CMAKE_CURRENT_SOURCE_DIR}/liblldb-private.exports) endif() endif() Index: source/API/liblldb.exports =================================================================== --- source/API/liblldb.exports +++ source/API/liblldb.exports @@ -2,3 +2,5 @@ _ZNK4lldb* init_lld* PyInit__lldb* +_ZN4llvm* +_ZNK4llvm* Index: tools/lldb-mi/CMakeLists.txt =================================================================== --- tools/lldb-mi/CMakeLists.txt +++ tools/lldb-mi/CMakeLists.txt @@ -1,5 +1,3 @@ -include(${LLDB_PROJECT_ROOT}/cmake/LLDBDependencies.cmake) - set(LLDB_MI_SOURCES MICmdArgContext.cpp MICmdArgSet.cpp @@ -90,8 +88,6 @@ target_link_libraries(lldb-mi pthread) endif () -llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS}) - set_target_properties(lldb-mi PROPERTIES VERSION ${LLDB_VERSION}) install(TARGETS lldb-mi