[llvm] [SHT_LLVM_BB_ADDR_MAP][AsmPrinter] Add none and all options to PGO Map (PR #111221)

Micah Weston via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 18:17:48 PDT 2024


red1bluelost wrote:

> > I think an 'all' option seems good. Why do we want a 'none'? My thought is that would just be omitting the pgo-analysis-map option.
> 
> 
> 
> With certain build systems (bazel in this case), it can be useful to have the ability to have the ability to append something to the compiler command line to force the option off when building certain applications/files that interact poorly with these options (like certain configurations of OpenSSL).
> 
> 
> 
> 

Good example! That makes sense.

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


More information about the llvm-commits mailing list