[PATCH] D120989: Support debug info for alias variable
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 4 10:38:07 PST 2022
dblaikie added a comment.
I think it'd potentially go somewhere in `DWARFDebugLine::LineTable::getFileLineInfoForAddress` for instance - which could inspect the candidate row in the line table, and if it's line zero, it could go back one row in the table. This would avoid probing addresses that are defined by the same row and will have the same result. (& could keep going back rows until it finds a non-zero row) & document that it's a fuzzy match. Or always produce the precise result and a separate non-zero fuzzy result if the main result is zero. "Nearest preceeding non-zero" or something.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120989/new/
https://reviews.llvm.org/D120989
More information about the cfe-commits
mailing list