================
@@ -44,10 +45,20 @@ bool DWARFDebugInfoEntry::Extract(const DWARFDataExtractor
&data,
const DWARFUnit *cu,
lldb::offset_t *offset_ptr) {
m_offset = *offset_ptr;
+ auto report_error = [&](const char *fmt, const auto &...vals) {
+ cu->GetSymbolFileDWARF().GetObjectFile()->GetModule()->ReportError(
----------------
labath wrote:
All of the callers are in DWARFUnit (passing `this`), but I'm not going to pass
up an opportunity to add more references. :P
https://github.com/llvm/llvm-project/pull/93006
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits