diff options
| author | Reid Kleckner <rnk@google.com> | 2017-04-04 00:56:34 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-04-04 00:56:34 +0000 |
| commit | 13fc411e390dcfbb65be20551ee78b6143d121a1 (patch) | |
| tree | 0f9f722aaf25085ab8d610734fa4d21d8eba973b /llvm/lib/LTO/LTOCodeGenerator.cpp | |
| parent | c4b5d794f1fe2ebb3a3c770d978d7cc7fe389b91 (diff) | |
| download | bcm5719-llvm-13fc411e390dcfbb65be20551ee78b6143d121a1.tar.gz bcm5719-llvm-13fc411e390dcfbb65be20551ee78b6143d121a1.zip | |
[PDB] Save one type record copy
Summary:
The TypeTableBuilder provides stable storage for type records. We don't
need to copy all of the bytes into a flat vector before adding it to the
TpiStreamBuilder.
This makes addTypeRecord take an ArrayRef<uint8_t> and a hash code to go
with it, which seems like a simplification.
Reviewers: ruiu, zturner, inglorion
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31634
llvm-svn: 299406
Diffstat (limited to 'llvm/lib/LTO/LTOCodeGenerator.cpp')
0 files changed, 0 insertions, 0 deletions

