[PATCH] D135590: [ThinLTO][ELF] Add a ThinLTO warning if cache_size_bytes or cache_size_files is too small for the current link job.

Ying Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 12:59:08 PST 2022


MaggieYi updated this revision to Diff 474332.
MaggieYi added a comment.

@tejohnson and @MaskRay, thanks for reviewing the patch.

I have updated the patch following @MaskRay's suggestions.


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

https://reviews.llvm.org/D135590

Files:
  lld/COFF/LTO.cpp
  lld/ELF/LTO.cpp
  lld/MachO/LTO.cpp
  lld/test/COFF/lto-cache-warnings.ll
  lld/test/ELF/lto/cache-warnings.ll
  lld/test/MachO/lto-cache-warnings.ll
  lld/test/wasm/lto/cache-warnings.ll
  lld/wasm/LTO.cpp
  llvm/include/llvm/Support/CachePruning.h
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp
  llvm/lib/Support/CachePruning.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135590.474332.patch
Type: text/x-patch
Size: 20081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/a690f207/attachment.bin>


More information about the llvm-commits mailing list