[clang] [Driver] Support fprofile-sample-use= for CL (PR #117282)

Haohai Wen via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 24 04:46:12 PST 2024


================
@@ -2660,7 +2660,7 @@ usual build cycle when using sample profilers for optimization:
 
      > clang-cl /O2 -gdwarf -gline-tables-only ^
        /clang:-fdebug-info-for-profiling /clang:-funique-internal-linkage-names ^
-       /fprofile-sample-use=code.prof code.cc /Fe:code /fuse-ld=lld /link /debug:dwarf
----------------
HaohaiWen wrote:

Yes. I checked options.td.
-fprofile-sample-use was not a CLOption and there's no /fuse-ld.

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


More information about the cfe-commits mailing list