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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to