[Lldb-commits] [lldb] [lldb] Remove DWARFDebugInfo DIERef footguns (PR #92894)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri May 24 04:29:44 PDT 2024
================
@@ -195,17 +195,17 @@ void DebugNamesDWARFIndex::GetCompleteObjCClass(
if (!ref)
continue;
- DWARFUnit *cu = m_debug_info.GetUnit(*ref);
- if (!cu || !cu->Supports_DW_AT_APPLE_objc_complete_type()) {
- incomplete_types.push_back(*ref);
- continue;
- }
-
- DWARFDIE die = m_debug_info.GetDIE(*ref);
+ SymbolFileDWARF &dwarf = *llvm::cast<SymbolFileDWARF>(
+ m_module.GetSymbolFile()->GetBackingSymbolFile());
----------------
labath wrote:
See #93296 for the new implementation. I'll update this PR after that lands.
https://github.com/llvm/llvm-project/pull/92894
More information about the lldb-commits
mailing list