[Lldb-commits] [lldb] [lldb] Extend FindTypes to optionally search by mangled type name (PR #113007)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 23 16:15:38 PDT 2024


https://github.com/clayborg commented:

Typenames don't often get put into the acclerator tables as mangled names for C/C++/ObjC. Functions do, but not typenames. Is there a case where the debug info contains a mangled name for a type? 

I know swift does use mangled names for types though as that is how these types are extracted from the Swift AST data blob by the Swift compiler. 

So I see no problem with this patch. If this is for Swift then we need to make sure there is a test for this in the Swift.org LLDB. Not sure if we can write a test using C/C++/ObjC or and language that comes from Clang ASTs.

https://github.com/llvm/llvm-project/pull/113007


More information about the lldb-commits mailing list