ikudrin added a comment. As far as I understand it, you need a specially constructed `llvm::DWARFDebugRnglistTable` object so that `DWARFUnit::FindRnglistFromOffset()` can call its `findList()` method and get a list of records located at a specific offset. It looks like a newly created `llvm::DWARFDebugRnglistTable` object has its `Header.Length` set to `0`, so it already works as required for the usage, and there is no need to fill its fields with artificial values that do not represent real content of the section. Am I right?
================ Comment at: llvm/lib/DebugInfo/DWARF/DWARFListTable.cpp:54 + + Data.setAddressSize(HeaderData.AddrSize); + return Error::success(); ---------------- The line looks suspicious because `Data` is a local variable that is destroyed right after the statement. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106466/new/ https://reviews.llvm.org/D106466 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits