[all-commits] [llvm/llvm-project] 5070ce: [PDB] Bypass generic deserialization code for publ...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Sat May 2 18:15:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5070cecd7219fc078cf0084d9dfa91e86b490bc2
      https://github.com/llvm/llvm-project/commit/5070cecd7219fc078cf0084d9dfa91e86b490bc2
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-05-02 (Sat, 02 May 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
    M llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp

  Log Message:
  -----------
  [PDB] Bypass generic deserialization code for publics sorting

The number of public symbols is very large, and each deserialization
does a few heap allocations. The public symbols are serialized by the
linker, so we can assume they have the expected layout and use it
directly.

Saves O(#publics) temporary heap allocations and shrinks some data
structures.




More information about the All-commits mailing list