llvm-project
5d5ead1d - [PGO] Generate __llvm_profile_raw_version only when instrumented

Commit
1 year ago
[PGO] Generate __llvm_profile_raw_version only when instrumented Currently, only modules that contain at least a single function definition are instrumented. When a module contains no function definitions at all, the module is not instrumented (yet?) and there is no reason to introduce the '__llvm_profile_raw_version' variable into the module.
Author
Committer
Parents
Loading