about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-04-05 11:26:48 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-05-08 10:58:08 +0200
commitdb140de8f2924c4ded63f0f72c0a795566d4e47c (patch)
tree1edf737b0d275e85fa56cb2785940f17c8a9c12a /compiler/rustc_codegen_llvm/src/llvm
parent5ecbe7fcf8bceb91d43a21be872aaef44c01073a (diff)
downloadrust-db140de8f2924c4ded63f0f72c0a795566d4e47c.tar.gz
rust-db140de8f2924c4ded63f0f72c0a795566d4e47c.zip
Explicitly register GCOV profiling pass as well
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-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 9a7be031944..9c9201aea36 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2204,6 +2204,7 @@ extern "C" {
         PGOGenPath: *const c_char,
         PGOUsePath: *const c_char,
         InstrumentCoverage: bool,
+        InstrumentGCOV: bool,
         llvm_selfprofiler: *mut c_void,
         begin_callback: SelfProfileBeforePassCallback,
         end_callback: SelfProfileAfterPassCallback,