[PATCH] D129581: [Clang] Rework LTO argument handling in the linker wrapper

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 14 08:49:03 PDT 2022


jhuber6 added a comment.

On second thought I'm not sure if overloading `-plugin-opt` is a good idea because we could have situations where we'd want them to be mutually exclusive, although I'd like to reuse the logic to set the arguments. I could change it to emit `-offload-opt=` instead or something similar to indicate it's for embedded offloading code, but that would cause some churn replacing every single `--plugin-opt` string in `addLTOOptions`. Would appreciate some feedback on this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129581



More information about the cfe-commits mailing list