[Lldb-commits] [lldb] [LLDB] Omit loading local symbols in LLDB symbol table (PR #154809)
David Peixotto via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 26 09:59:08 PDT 2025
================
@@ -2102,6 +2121,12 @@ ObjectFileELF::ParseSymbols(Symtab *symtab, user_id_t start_id,
if (!symbol_name)
symbol_name = "";
+ // Skip local symbols starting with ".L" because these are compiler
+ // generated local labels used for internal purposes (e.g. debugging,
+ // optimization) and are not relevant for symbol resolution or external
+ // linkage in RISC-V binaries.
----------------
dmpots wrote:
This is making the change for all architectures not just RISC-V so the comment is a bit misleading.
https://github.com/llvm/llvm-project/pull/154809
More information about the lldb-commits
mailing list