about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorridwanabdillahi <91507758+ridwanabdillahi@users.noreply.github.com>2022-08-10 09:16:20 -0700
committerridwanabdillahi <91507758+ridwanabdillahi@users.noreply.github.com>2022-08-11 16:04:08 -0700
commit100882296e065526cfd055380e14334738da4158 (patch)
tree46a23fbb6d11ff7b1a113c77880bd5d30b53ff21 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent20ffea6938b5839c390252e07940b99e3b6a889a (diff)
downloadrust-100882296e065526cfd055380e14334738da4158.tar.gz
rust-100882296e065526cfd055380e14334738da4158.zip
Add support for generating unique *.profraw files by default when using the `-C instrument-coverage` flag.
Respond to PR comments.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 3139f93bfef..0d27614b9a3 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2347,6 +2347,7 @@ extern "C" {
         PGOGenPath: *const c_char,
         PGOUsePath: *const c_char,
         InstrumentCoverage: bool,
+        InstrProfileOutput: *const c_char,
         InstrumentGCOV: bool,
         PGOSampleUsePath: *const c_char,
         DebugInfoForProfiling: bool,