[PATCH] D115390: Support: Avoid SmallVector::set_size() in Windows code
Duncan P. N. Exon Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 8 13:08:55 PST 2021
dexonsmith created this revision.
Herald added a subscriber: hiraditya.
dexonsmith requested review of this revision.
Herald added a project: LLVM.
Replace a few `reserve()` / `set_size()` pairs with
`resize_for_overwrite()` / `truncate()` in the platform-specific
code for Windows.
Depends on https://reviews.llvm.org/D115383 or successor; blocker for https://reviews.llvm.org/D115380.
https://reviews.llvm.org/D115390
Files:
llvm/lib/Support/Windows/Path.inc
llvm/lib/Support/Windows/Process.inc
llvm/lib/Support/Windows/Program.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115390.392910.patch
Type: text/x-patch
Size: 6278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/ae3923bd/attachment.bin>
More information about the llvm-commits
mailing list