When enable CSPGO for ThinLTO, there are profile cfg mismatch warnings that will cause lld-link errors (with /WX). To disable it we have to use an internal "/mllvm:-no-pgo-warn-mismatch" option. In contrast clang uses option ”-Wno-backend-plugin“ to avoid such warnings and gcc has an explicit "-Wno-coverage-mismatch" option. Add this "lto-pgo-warn-mismatch" option to lld to help turn on/off the profile mismatch warnings explicitly when build with ThinLTO and CSPGO. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D104431
12 lines
116 B
Plaintext
12 lines
116 B
Plaintext
# CSIR level Instrumentation Flag
|
|
:csir
|
|
f
|
|
# Func Hash:
|
|
1535914979662757887
|
|
# Num Counters:
|
|
2
|
|
# Counter Values:
|
|
1
|
|
0
|
|
|