File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -2011,7 +2011,11 @@ case "$CC_BASENAME" in
2011
2011
*clang*)
2012
2012
# Any changes made here should be reflected in the GCC+Darwin case below
2013
2013
PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
2014
- PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
2014
+ PGO_PROF_USE_FLAG=m4_normalize ( "
2015
+ - fprofile-instr-use=code.profclangd
2016
+ - Wno-profile-instr-unprofiled
2017
+ - Wno-profile-instr-out-of-date
2018
+ " )
2015
2019
LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
2016
2020
LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
2017
2021
if test $LLVM_PROF_FOUND = not-found
@@ -2027,7 +2031,11 @@ case "$CC_BASENAME" in
2027
2031
case $ac_sys_system in
2028
2032
Darwin*)
2029
2033
PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
2030
- PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
2034
+ PGO_PROF_USE_FLAG=m4_normalize ( "
2035
+ - fprofile-instr-use=code.profclangd
2036
+ - Wno-profile-instr-unprofiled
2037
+ - Wno-profile-instr-out-of-date
2038
+ " )
2031
2039
LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
2032
2040
LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
2033
2041
if test "${LLVM_PROF_FOUND}" = "not-found"
You can’t perform that action at this time.
0 commit comments