[PATCH] D146778: [lld] Preliminary fat-lto-object support

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 12:01:06 PDT 2023


paulkirth updated this revision to Diff 539666.
paulkirth marked 7 inline comments as done.
paulkirth added a comment.

Rebase and address comments.

- Add archive support
- Update tests to use split-file
- Add test for invalid IR
- Use normal comparison

This still needs to get a test for `inLib` and for archives.

Also, in `Driver.cpp`, the FatLTO support seems a bit repetitive, so I plan to
simplify w/ a helper function, but wanted to be sure I've handled the new cases
for archives correctly first before refactoring.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146778

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/Options.td
  lld/docs/ReleaseNotes.rst
  lld/test/ELF/fatlto/fatlto.invalid.s
  lld/test/ELF/fatlto/fatlto.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146778.539666.patch
Type: text/x-patch
Size: 10326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/444a67e5/attachment.bin>


More information about the llvm-commits mailing list