aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-05-02 18:06:41 -0700
committerReid Kleckner <rnk@google.com>2020-05-02 18:14:50 -0700
commit5070cecd7219fc078cf0084d9dfa91e86b490bc2 (patch)
tree0845793a23a8f590a1a822ef992ff42349177c7d /llvm/lib/Support/Compression.cpp
parent810c8e9b495c191f49b162cee3fb8829185a2691 (diff)
downloadllvm-5070cecd7219fc078cf0084d9dfa91e86b490bc2.zip
llvm-5070cecd7219fc078cf0084d9dfa91e86b490bc2.tar.gz
llvm-5070cecd7219fc078cf0084d9dfa91e86b490bc2.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions