[lld-macho] Silently ignore the -objc_abi_version
authorKeith Smiley <keithbsmiley@gmail.com>
Thu, 4 Nov 2021 04:47:49 +0000 (21:47 -0700)
committerKeith Smiley <keithbsmiley@gmail.com>
Thu, 4 Nov 2021 05:16:09 +0000 (22:16 -0700)
commite7fdff403e849b18d93cd4a5cb760cba66a92c0b
tree867d81f9f567137c8420b27453578a549bb92c91
parentd49e7244cc017dc5616e7a1b1e50f458c333c1ae
[lld-macho] Silently ignore the -objc_abi_version

This undocumented ld64 flag, based on the most recent ld64 source dump
from Xcode 12, only applies to i386. It seems like on all newer
architectures this behavior is the default.

Reviewed By: #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D113070
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/test/MachO/silent-ignore.s [new file with mode: 0644]
lld/test/MachO/silent-ignore.test [deleted file]