[all-commits] [llvm/llvm-project] 1da67e: [llvm-symbolizer] Fix line offset for inline site.

Zequan Wu via All-commits all-commits at lists.llvm.org
Thu Apr 7 15:18:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1da67ecefddad87e76b475b7f60917fdded0834c
      https://github.com/llvm/llvm-project/commit/1da67ecefddad87e76b475b7f60917fdded0834c
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

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

  Log Message:
  -----------
  [llvm-symbolizer] Fix line offset for inline site.

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.

Differential Revision: https://reviews.llvm.org/D123151




More information about the All-commits mailing list