[PATCH] D127246: [LinkerWrapper] Rework the linker wrapper and use owning binaries

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 05:59:31 PDT 2022


jhuber6 updated this revision to Diff 435118.
jhuber6 added a comment.

There was a problem where the Triple and Arch data would be deallocated when the LTO pass took ownership of every single file. Add a UniqueStringSaver to make sure they are still accessible after linking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127246/new/

https://reviews.llvm.org/D127246

Files:
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127246.435118.patch
Type: text/x-patch
Size: 38361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220608/e087e365/attachment-0001.bin>


More information about the cfe-commits mailing list