aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-12-07 17:22:47 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-12-09 18:44:40 -0800
commit1131738698c49b194be278da3a2a21a7eaa915a9 (patch)
tree6e492c64ffc2091ecac370681f9fcdfd3df1e56c /llvm/lib/CodeGen/CodeGen.cpp
parent925ec98d000a9df7749e93e8831282cbbb5839b2 (diff)
downloadllvm-1131738698c49b194be278da3a2a21a7eaa915a9.zip
llvm-1131738698c49b194be278da3a2a21a7eaa915a9.tar.gz
llvm-1131738698c49b194be278da3a2a21a7eaa915a9.tar.bz2
Support: Avoid using SmallVector::set_size() in MemoryBuffer
Update getMemoryBufferForStream() to use `resize_for_overwrite()` and `truncate()` instead of `reserve()` and `set_size()`. Differential Revision: https://reviews.llvm.org/D115384
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions