[lld-macho] improve handling of -platform_version
authorGreg McGary <gkm@fb.com>
Tue, 11 Aug 2020 01:47:16 +0000 (18:47 -0700)
committerJez Ng <jezng@fb.com>
Tue, 11 Aug 2020 01:47:16 +0000 (18:47 -0700)
commit49fb1c2e901848c31ff1ea1caaf34cd51b85c5a3
tree735fc6d51750bc6393dc749f5f5811d3dac2496a
parenta379f2c251d0dbe3b191888fcd9c3d1eb42a980b
[lld-macho] improve handling of -platform_version

This improves the handling of `-platform_version` by addressing the FIXME in the code to process the arguments.

Reviewed By: int3, #lld-macho

Differential Revision: https://reviews.llvm.org/D81413
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/test/MachO/platform-version.s [new file with mode: 0644]
lld/test/MachO/platform-version.test [deleted file]