[Lldb-commits] [lldb] [lldb/DWARF] Make sure bad abbreviation codes do not crash lldb (PR #93006)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu May 23 02:05:14 PDT 2024
================
@@ -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
More information about the lldb-commits
mailing list