[Lldb-commits] [lldb] [lldb][DWARFASTParser][NFC] Factor out CXX/ObjC method specifics out of ParseSubroutine (PR #95078)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 11 02:19:12 PDT 2024
================
@@ -370,6 +371,20 @@ class DWARFASTParserClang : public lldb_private::plugin::dwarf::DWARFASTParser {
ParsedDWARFTypeAttributes &attrs);
lldb::TypeSP ParseSubroutine(const lldb_private::plugin::dwarf::DWARFDIE &die,
const ParsedDWARFTypeAttributes &attrs);
+
+ bool
+ HandleObjCMethod(lldb_private::ObjCLanguage::MethodName const &objc_method,
+ lldb_private::plugin::dwarf::DWARFDIE const &die,
+ lldb_private::CompilerType clang_type,
+ ParsedDWARFTypeAttributes const &attrs, bool is_variadic);
+
+ std::pair<bool, lldb::TypeSP>
+ HandleCXXMethod(lldb_private::plugin::dwarf::DWARFDIE const &die,
----------------
labath wrote:
> LinkCXXMethodDeclContextToDIE
Is that all the function does? It seems to be doing a bit more, so maybe something with the word `Parse` in it might be better.
I can't really say anything confidently, since I don't really understand this code, even though I've spend a lot of time staring at it last week.
https://github.com/llvm/llvm-project/pull/95078
More information about the lldb-commits
mailing list