[lld] Add --pass-plugin-arg=<plugin>,<arg> (#244944)
#227414 added `-plugin-arg=<plugin>,<arg>` to opt and llc and #244917
adds `-fpass-plugin-arg=` to clang. lld loads `--load-pass-plugin=`
plugins inside LTO, after option parsing, so the only way to set a
plugin's options is to load it a second time with `-mllvm=-load=`, which
registers its cl::opts in the process's namespace.
Add lto::Config::PassPluginArgs, which LTO::run() passes to the loaded
plugins and statically linked extensions (e.g. Polly), and include it in
the ThinLTO cache key as MllvmArgs is. Add `--pass-plugin-arg=` to the
ELF and Mach-O ports.
LLM-aided