[PATCH] D77705: [Driver] Forward pass plugin arguments to gold

Dominic Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 23:25:41 PDT 2020


ddcc added a comment.

Originally, I tried forwarding the `-Xclang -load` arguments, but couldn't access the `options::OPT_plugin` arguments from the argument list. I'm not familiar with tablegen and argument processing, there was some issue with the group not being available causing the arguments to be skipped when filtering the argument list, so I ended up reusing the `OPT_fplugin` and `OPT_fpass_plugin` arguments instead. As far as I can tell, `OPT_fplugin` seems to work for both Clang and LLVM plugins, but I haven't used the former.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77705/new/

https://reviews.llvm.org/D77705





More information about the cfe-commits mailing list