-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
PGOProfile Guided OptimizationsProfile Guided Optimizationsclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Description
Issuing clang -fprofile-sample-use file.cc has no effect: nothing is printed, binary isn't built with profiling info; the option seems to be ignored. When file is specified with fprofile-sample-use=profile.prof it works as expected. This is surprising, since similar option fprofile-use behaves differently -- when no file is specified, it looks for default.profdata in the current directory and prints error message when it doesn't find any. The fprofile-sample-use should behave as fprofile-use in this case
Metadata
Metadata
Assignees
Labels
PGOProfile Guided OptimizationsProfile Guided Optimizationsclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'