Re-commit: Driver: Don't warn on -mbranch-protection when linking
authorTom Stellard <tstellar@redhat.com>
Wed, 23 Mar 2022 06:17:39 +0000 (23:17 -0700)
committerTom Stellard <tstellar@redhat.com>
Thu, 24 Mar 2022 23:57:42 +0000 (16:57 -0700)
commitfed96f31bb5b68f77dd617ee8e698dd8171ee71b
tree6d76feb28d219121feddac5639dc1e328a1e5854
parentbfda79341bb5e5d8eb9a8fa63958ecfe75f57d78
Re-commit: Driver: Don't warn on -mbranch-protection when linking

This is a re-commit of 98fd3b359866f474ab1c097c22fb5c3be356b996.  The
newly added test was failing on the bots, and I've fixed the test now so
that it doesn't actually invoke the linker.
clang/include/clang/Driver/Options.td
clang/test/Driver/aarch64-security-options.c