[Lldb-commits] [PATCH] D130803: [lldb] Allow SymbolTable regex search functions to match mangled name

Augusto Noronha via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 1 10:03:09 PDT 2022


augusto2112 added a comment.

In D130803#3690754 <https://reviews.llvm.org/D130803#3690754>, @labath wrote:

> Who sets this flag? How do you intend to use it?

I need this change downstream to search for certain swift mangled names by querying `Module::FindSymbolsMatchingRegExAndType`. It seemed general enough that we might want this upstream.



================
Comment at: lldb/include/lldb/Core/Module.h:267
+                                       SymbolContextList &sc_list,
+                                       bool match_against_demangled = false);
 
----------------
labath wrote:
> Could this be `Mangled::NamePreference` instead of `bool` ?
Ok! Wasn't aware of that enum. I'll change that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130803/new/

https://reviews.llvm.org/D130803



More information about the lldb-commits mailing list