[Driver] Correct -fnoxray-link-deps to -fno-xray-link-deps
authorFangrui Song <i@maskray.me>
Mon, 19 Jun 2023 19:48:33 +0000 (12:48 -0700)
committerFangrui Song <i@maskray.me>
Mon, 19 Jun 2023 19:48:33 +0000 (12:48 -0700)
commit407dcaf002f71abf940f3e903fa17791b150995d
tree741d5f43ce1788aa1208e2abbf161988d7621e65
parent2e6bb8c9b82c185f0e96895b1f69045cfb0640b4
[Driver] Correct -fnoxray-link-deps to -fno-xray-link-deps

and removed unused CC1Option.
Also change -whole-archive to the canonical spelling and improve tests.
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/XRayArgs.cpp
clang/test/Driver/XRay/xray-nolinkdeps.cpp