You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 withfprofile-sample-use=profile.prof
it works as expected. This is surprising, since similar optionfprofile-use
behaves differently -- when no file is specified, it looks fordefault.profdata
in the current directory and prints error message when it doesn't find any. Thefprofile-sample-use
should behave asfprofile-use
in this caseThe text was updated successfully, but these errors were encountered: