[PATCH] D123151: [llvm-symbolizer] Fix line offset for inline site.

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 12:20:31 PDT 2022


zequanwu created this revision.
zequanwu added reviewers: akhuang, aganea.
Herald added a subscriber: hiraditya.
Herald added a project: All.
zequanwu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This fixes the issue when the current line offset is actually for next range.

Maintain a current code range with current line offset and cache next file/line
offset. Update file/line offset after finishing current range.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123151

Files:
  lld/test/COFF/symbolizer-inline.s
  llvm/lib/DebugInfo/PDB/Native/NativeInlineSiteSymbol.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123151.420602.patch
Type: text/x-patch
Size: 4734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220405/a6b4a10b/attachment.bin>


More information about the llvm-commits mailing list