[Lldb-commits] [lldb] [lldb][windows] Export dwarf plugin symbols in LLDB_EXPORT_ALL_SYMBOLS (PR #71087)
River Riddle via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 2 11:33:18 PDT 2023
================
@@ -196,13 +196,15 @@ elseif (LLDB_EXPORT_ALL_SYMBOLS)
MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb and lldb_private namespaces")
# Pull out the various lldb libraries linked into liblldb, these will be used
- # when looking for symbols to extract. We ignore plugin libraries here,
- # because these symbols aren't publicly exposed.
+ # when looking for symbols to extract. We ignore most plugin libraries here,
+ # because we may expose more symbols than the DLL limit and these symbols
+ # aren't useful to expose.
get_target_property(all_liblldb_libs liblldb LINK_LIBRARIES)
set(lldb_libs "")
foreach(lib ${all_liblldb_libs})
if(TARGET ${lib} AND ${lib} MATCHES "^lldb" AND
- NOT ${lib} MATCHES "^lldbPlugin")
+ (${lib} MATCHES "^lldbPluginSymbolFileDWARF" OR
+ NOT ${lib} MATCHES "^lldbPlugin"))
----------------
River707 wrote:
SGTM, will update!
https://github.com/llvm/llvm-project/pull/71087
More information about the lldb-commits
mailing list