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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 24 02:53:48 PDT 2024


================
@@ -300,6 +303,12 @@ class TypeQuery {
       m_options &= ~e_find_one;
   }
 
+  /// Returns true if the type query is supposed to treat the name to be
+  /// searched as a mangled name.
+  bool GetSearchByMangledName() const {
+    return (m_options & e_search_by_mangled_name) != 0;
+  }
----------------
Michael137 wrote:

Is there a setter that only lives on the Apple fork then? Don't think it'd be too outrageous to add both the getter/setter here as we do for all the other options (even if we only have coverage for it on the Apple fork i guess)

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


More information about the lldb-commits mailing list