SmallString<0> is more flexible and avoids an unneeded copy in
ObjectYAML/OffloadEmitter.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D159335
[Object] Change OffloadBinary::write to return SmallString<0> ClosedPublic Authored by MaskRay on Aug 31 2023, 10:35 PM.
Details Summary SmallString<0> is more flexible and avoids an unneeded copy in
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 31 2023, 10:35 PM This revision is now accepted and ready to land.Sep 1 2023, 5:29 AM Closed by commit rGf93c271d4cc1: [Object] Change OffloadBinary::write to return SmallString<0> (authored by MaskRay). · Explain WhySep 1 2023, 9:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 555412 clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
clang/tools/clang-offload-packager/ClangOffloadPackager.cpp
llvm/include/llvm/Object/OffloadBinary.h
llvm/lib/Object/OffloadBinary.cpp
llvm/lib/ObjectYAML/OffloadEmitter.cpp
llvm/unittests/Object/OffloadingTest.cpp
|