[PATCH] D88064: [lld-macho] handle option -headerpad_max_install_names

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 11:02:16 PDT 2020


gkm updated this revision to Diff 293508.
gkm added a comment.

- Count instances of `LCDylib` inside constructor rather than at construction sites
- Elide uninteresting columns from `llvm-objdump --all-headers` output to reduce length and noise of the lines
- Add tests for all types of `LCDylib`: self, load, reexport
- Add tests for null-effect of `-headerpad_max_install_names` when no `LCDylib`s are present
- Add test for `-headerpad N` exceeding size of `-headerpad_max_install_names`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88064

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/MachO/SyntheticSections.cpp
  lld/MachO/Writer.cpp
  lld/test/MachO/headerpad.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88064.293508.patch
Type: text/x-patch
Size: 8212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/84450d1d/attachment.bin>


More information about the llvm-commits mailing list