[llvm-branch-commits] [llvm] [PGO] Generate __llvm_profile_raw_version only when instrumented (PR #93917)
Arthur Eubanks via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 31 09:24:14 PDT 2024
aeubanks wrote:
What's the benefit to this change? From a compile time perspective, files containing no functions are essentially negligible. From a consistency perspective, not adding `__llvm_profile_raw_version` in some cases creates divergence between different source files (IIRC we do some checking of `__llvm_profile_raw_version` against the profile runtime library? which is good for checking that all your sources were compiled the same way)
https://github.com/llvm/llvm-project/pull/93917
More information about the llvm-branch-commits
mailing list