https://bugs.llvm.org/show_bug.cgi?id=41252

            Bug ID: 41252
           Summary: clang-cl does not support -fprofile-generate
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

`clang-cl` supports `-fprofile-instr-generate` but not `-fprofile-generate` (or
`-fcs-profile-generate`). 

There is experimental support for PGO in the Rust compiler based on IR-level
instrumentation. In order to be able to use it in a mixed Rust/C codebase, C
code also has to be instrumented via the IR-level method. This works for
regular `clang` but `clang-cl` does not seem to expose this functionality.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to