diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2018-07-20 00:44:58 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2018-07-20 00:44:58 +0000 |
commit | c03b04d53305de01ee28ffe80be17cfaeca24cec (patch) | |
tree | 0ffbb05d8d12aa450b8435fabf98f79a72ca80ca /lldb/packages/Python | |
parent | caefe42c66ae8e67c8bd6ac2502e85f13cae38bf (diff) | |
download | bcm5719-llvm-c03b04d53305de01ee28ffe80be17cfaeca24cec.tar.gz bcm5719-llvm-c03b04d53305de01ee28ffe80be17cfaeca24cec.zip |
Reapply "ADT: Shrink size of SmallVector by 8B on 64-bit platforms"
I'm optimistically reverting commit r337511, effectively reapplying
r337504 *without* changes.
The failing bots that had `SmallVector` in the backtrace recovered after
the unrelated commit r337508. The backtraces looked bogus anyway, with
`SmallVector::size()` calling (e.g.) `ConstantArray::get()`.
Here's the original commit message:
ADT: Shrink size of SmallVector by 8B on 64-bit platforms
Represent size and capacity directly as unsigned and calculate
`end()` using `begin() + size()`.
This limits the maximum size/capacity of a vector to UINT32_MAX.
https://reviews.llvm.org/D48518
llvm-svn: 337514
Diffstat (limited to 'lldb/packages/Python')
0 files changed, 0 insertions, 0 deletions