[PATCH] D106213: [lld-macho] Enable copy-on-write for input buffers

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 26 14:14:22 PDT 2021


dblaikie added a comment.

Any idea what ld64 does in this case? Might be worth checking (should be testable, I think - give it a really big input section that it needs to canonicalize/fold, and see if that produces more total memory usage than if the section is small?) - and if it doesn't have the same negative effect on memory usage, maybe that's a hint that there's some other lower-(memory)-cost solution to the problem?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106213



More information about the llvm-commits mailing list