diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-19 22:22:43 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-20 13:29:34 +1100 |
| commit | d1bf77eb3404bf1e46f4c81eebf6cc83508b0de7 (patch) | |
| tree | eba9a264708c972437304e8349f5f0c3b42d9f08 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 98c4d9695718b309fe790f7b2da2e886ccd042c6 (diff) | |
| download | rust-d1bf77eb3404bf1e46f4c81eebf6cc83508b0de7.tar.gz rust-d1bf77eb3404bf1e46f4c81eebf6cc83508b0de7.zip | |
Pass coverage mappings to LLVM as separate structs
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index c41961fb394..73e977da2e3 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1754,8 +1754,14 @@ unsafe extern "C" { NumVirtualFileMappingIDs: c_uint, Expressions: *const crate::coverageinfo::ffi::CounterExpression, NumExpressions: c_uint, - MappingRegions: *const crate::coverageinfo::ffi::CounterMappingRegion, - NumMappingRegions: c_uint, + CodeRegions: *const crate::coverageinfo::ffi::CodeRegion, + NumCodeRegions: c_uint, + BranchRegions: *const crate::coverageinfo::ffi::BranchRegion, + NumBranchRegions: c_uint, + MCDCBranchRegions: *const crate::coverageinfo::ffi::MCDCBranchRegion, + NumMCDCBranchRegions: c_uint, + MCDCDecisionRegions: *const crate::coverageinfo::ffi::MCDCDecisionRegion, + NumMCDCDecisionRegions: c_uint, BufferOut: &RustString, ); |
