[clang] [clang][CodeGen] Omit pre-opt link when post-opt is link requested (PR #85672)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 1 12:54:51 PDT 2024


b-sumner wrote:

> > I'm thinking of an option that developers can use. If -link-builtin-bitcodes-postopt, becomes the default, how can developers disable it?
> 
> Presumably you'd add `--no-link-builtin-bitcodes-postopt` and then use `Args.hasFlag(PosFlag, NegFlag, Default)`.

I assume I'd need an -Xclang or -Wl, in front?  And it would need some test coverage.

https://github.com/llvm/llvm-project/pull/85672


More information about the cfe-commits mailing list