llvm-project
d6d7d0ac - [Flang][Driver] Add support for '-fprofile-sample-use' option (#188697)

Commit
7 days ago
[Flang][Driver] Add support for '-fprofile-sample-use' option (#188697) When the `-fprofile-sample-use=sample.prof` option is passed, the compiler records the profile file path in `SampleProfileFile` . This value is later used by the `SampleProfileLoaderPass`, which loads the sample profile and injects the corresponding profiling metadata in the LLVM IR.
Author
Parents
Loading