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

Tim Creech via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 22 06:01:59 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
----------------
tcreech-intel wrote:

I take it this wasn't working? (Neither `/fprofile-sample-use` nor `/fuse-ld`?)

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


More information about the cfe-commits mailing list