[all-commits] [llvm/llvm-project] bb7321: [lldb/PDB] Use the new line table constructor

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Jan 28 06:09:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb73210ba9f16c1516f564235c86cbddccd1bd6d
      https://github.com/llvm/llvm-project/commit/bb73210ba9f16c1516f564235c86cbddccd1bd6d
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
    M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp

  Log Message:
  -----------
  [lldb/PDB] Use the new line table constructor

The old method of adding line sequences one by one can easily go
quadratic if the sequences are not perfectly sorted. The equivalent
change in DWARF brought a considerable improvement in line table
parsing. It is not clear if the same will be the case for PDB, but this
does bring us a step closer towards removing the dangerous API.




More information about the All-commits mailing list