[Lldb-commits] [lldb] [lldb] Add SBType::FindNestedType() function (PR #68705)

Vlad Serebrennikov via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 11 01:03:38 PDT 2023


================
@@ -313,6 +313,8 @@ class TypeImpl {
   bool GetDescription(lldb_private::Stream &strm,
                       lldb::DescriptionLevel description_level);
 
+  CompilerType FindNestedType(ConstString name);
----------------
Endilll wrote:

> Do we want to make a ConstString for every argument that is passed to FindNestedType ?

I'm not sure about LLDB conventions around string types, but I need to create `ConstString` every time `FindNestedType` is called, because that's what `SymbolFile::FindTypes` expects, which I unconditionally call.

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


More information about the lldb-commits mailing list