Commit 5d5ead1d authored by Pavel Samolysov's avatar Pavel Samolysov
Browse files

[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.
parent ac467402
Pipeline #2958 failed with stages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment