[Lldb-commits] [lldb] dc1a2cb - [lldb][windows] Cover more symbols in LLDB_EXPORT_ALL_SYMBOLS
River Riddle via lldb-commits
lldb-commits at lists.llvm.org
Sat Sep 30 16:20:44 PDT 2023
Author: River Riddle
Date: 2023-09-30T16:06:19-07:00
New Revision: dc1a2cb9718966e9050e32962dc86377088f2d7e
URL: https://github.com/llvm/llvm-project/commit/dc1a2cb9718966e9050e32962dc86377088f2d7e
DIFF: https://github.com/llvm/llvm-project/commit/dc1a2cb9718966e9050e32962dc86377088f2d7e.diff
LOG: [lldb][windows] Cover more symbols in LLDB_EXPORT_ALL_SYMBOLS
Followup to #67628 that relaxes the symbol regex a bit to cover more
lldb_private symbols.
Added:
Modified:
lldb/scripts/msvc_extract_private_symbols.py
Removed:
################################################################################
diff --git a/lldb/scripts/msvc_extract_private_symbols.py b/lldb/scripts/msvc_extract_private_symbols.py
index 05e8b0e2095ca33..b741310d717c23c 100644
--- a/lldb/scripts/msvc_extract_private_symbols.py
+++ b/lldb/scripts/msvc_extract_private_symbols.py
@@ -18,7 +18,7 @@ def extract_symbols(nm_path: str, lib: str):
library to extract from."""
# Matches mangled symbols containing 'lldb_private'.
- lldb_sym_re = r"0* [BT] (?P<symbol>[?]+[^?].*lldb_private.*)"
+ lldb_sym_re = r"[0-9a-zA-Z]* [BT] (?P<symbol>[?]+[^?].*lldb_private.*)"
# '-g' means we only get global symbols.
# '-p' do not waste time sorting the symbols.
More information about the lldb-commits
mailing list