[lld-macho] Downgrade version mismatch to warning
authorJez Ng <jezng@fb.com>
Wed, 16 Jun 2021 15:06:14 +0000 (11:06 -0400)
committerJez Ng <jezng@fb.com>
Wed, 16 Jun 2021 15:06:26 +0000 (11:06 -0400)
commitd52d1b93c3f5666a2d324a3cd6f505ae1dfb469a
tree4287c402367ef60daf72bb397a57b0a0f1285716
parent2a936be38864fea5f11adf68e611fabc37aca6c1
[lld-macho] Downgrade version mismatch to warning

It's a warning in ld64. While having LLD be stricter would be nice, it
makes it harder for it to be a drop-in replacement into existing builds.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D104333
lld/MachO/InputFiles.cpp
lld/test/MachO/invalid/incompatible-arch.s