[PATCH] D159335: [Object] Change OffloadBinary::write to return SmallString<0>
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 22:35:41 PDT 2023
MaskRay created this revision.
MaskRay added reviewers: jhuber6, JonChesterfield.
Herald added a subscriber: hiraditya.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
SmallString<0> is more flexible and avoids an unneeded copy in
ObjectYAML/OffloadEmitter.cpp.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159335
Files:
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
llvm/include/llvm/Object/OffloadBinary.h
llvm/lib/Object/OffloadBinary.cpp
llvm/lib/ObjectYAML/OffloadEmitter.cpp
llvm/unittests/Object/OffloadingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159335.555256.patch
Type: text/x-patch
Size: 4684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/faf91fac/attachment.bin>
More information about the llvm-commits
mailing list