[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 05:31:45 PDT 2024
================
@@ -1477,10 +1497,11 @@ bool DWARFDebugLine::Prologue::getFileNameByIndex(
}
bool DWARFDebugLine::LineTable::getFileLineInfoForAddress(
- object::SectionedAddress Address, const char *CompDir,
+ object::SectionedAddress Address, const char *CompDir, bool ApproximateLine,
FileLineInfoKind Kind, DILineInfo &Result) const {
// Get the index of row we're looking for in the line table.
- uint32_t RowIndex = lookupAddress(Address);
+ auto RowIndexValue = lookupAddress(Address, ApproximateLine);
----------------
ampandey-1995 wrote:
Yes, removed the usage of auto also ```lookupAddress``` return type will now be the same as in previous case i.e ```uint32_t```. Remove the usage of std::pair data structure.
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list