[PATCH] D80582: Specify the complete set of command-line options for ld64

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 01:02:43 PDT 2020


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

- add current-version.test
- use `StringRef::split()` instead of `llvm::SplitString()` for better handling of empty fields between `'.'` separators
- reject empty and excess version# components
- fix calculation of bit width for the first version component


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80582

Files:
  lld/MachO/Driver.cpp
  lld/MachO/Driver.h
  lld/MachO/Options.td
  lld/test/MachO/current-version.test
  lld/test/MachO/platform-version.test
  llvm/include/llvm/Option/Option.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80582.266444.patch
Type: text/x-patch
Size: 62040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/b60e9223/attachment-0001.bin>


More information about the llvm-commits mailing list