================ @@ -301,7 +301,8 @@ using Entry = llvm::DWARFDebugNames::Entry; /// If any parent does not have an `IDX_parent`, or the Entry data is corrupted, /// nullopt is returned. std::optional<llvm::SmallVector<Entry, 4>> -getParentChain(Entry entry, uint32_t max_parents) { +getParentChain(Entry entry, + uint32_t max_parents = std::numeric_limits<uint32_t>::max()) { llvm::SmallVector<Entry, 4> parent_entries; ---------------- jeffreytan81 wrote:
Do you know what branch in this function will cut short during "intermediate types is in a type unit" situation? Is it "entry.hasParentInformation()" returning false, or "entry.getParentDIEEntry()" return failure? https://github.com/llvm/llvm-project/pull/108907 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits