commit | af04423e312139ea7181464cce2ed68e48b475dc | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Mon Aug 21 20:17:19 2017 +0000 |
committer | Zachary Turner <zturner@google.com> | Mon Aug 21 20:17:19 2017 +0000 |
tree | eef8fd075b9d2de60e8ace65a301879e3ecb71ab | |
parent | 5078f592b09014522245489f64d882483b17362e [diff] |
[PDB] Serialize records into a stack-allocated buffer. We were using a std::vector<> and resizing to MaxRecordLength, which is ~64KB. We would then do this repeatedly often many times in a tight loop, which was causing measurable performance impact when linking PDBs. Patch by Alex Telishev Differential Revision: https://reviews.llvm.org/D36940 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311375 91177308-0d34-0410-b5e6-96231b3b80d8