[all-commits] [llvm/llvm-project] 7e1369: [llvm-symbolizer][Windows] Add start line when sea...

Amy Huang via All-commits all-commits at lists.llvm.org
Thu Dec 17 08:03:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e13694ac745f6cd4008dd354f2fcfc417b1e1e9
      https://github.com/llvm/llvm-project/commit/7e13694ac745f6cd4008dd354f2fcfc417b1e1e9
  Author: Amy Huang <akhuang at google.com>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    A lld/test/COFF/symbolizer-line-numbers.s
    M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp

  Log Message:
  -----------
  [llvm-symbolizer][Windows] Add start line when searching in line table sections.

Fixes issue where if a line section doesn't start with a line number
then the addresses at the beginning of the section don't have line numbers.

For example, for a line section like this
```
  0001:00000010-00000014, line/column/addr entries = 1
     7 00000013 !
```
a line number wouldn't be found for addresses from 10 to 12.

This matches behavior when using the DIA SDK.

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




More information about the All-commits mailing list