We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71c2376 commit 282dec1Copy full SHA for 282dec1
src/bootstrap/llvm.rs
@@ -342,9 +342,10 @@ impl Step for Llvm {
342
cfg.define("LLVM_BUILD_INSTRUMENTED", "IR");
343
if let Ok(llvm_profile_dir) = std::env::var("LLVM_PROFILE_DIR") {
344
cfg.define("LLVM_PROFILE_DATA_DIR", llvm_profile_dir);
345
+ cxxflags.push("-mllvm");
346
+ cxxflags.push("-vp-counters-per-site=10");
347
}
348
- cfg.define("LLVM_VP_COUNTERS_PER_SITE", "10");
349
cfg.define("LLVM_BUILD_RUNTIME", "No");
350
351
if let Some(path) = builder.config.llvm_profile_use.as_ref() {
0 commit comments