diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-04 21:55:43 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-20 12:40:36 +1100 |
| commit | d07ef5b0e1f7551ad24f86256d63a5dfdb907c17 (patch) | |
| tree | 169932d2950336f718717f1a874d9f19402b8b87 /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 2947be7af8732d1c298a15030325cc50c8910061 (diff) | |
| download | rust-d07ef5b0e1f7551ad24f86256d63a5dfdb907c17.tar.gz rust-d07ef5b0e1f7551ad24f86256d63a5dfdb907c17.zip | |
coverage: Add LLVM plumbing for expansion regions
This is currently unused, but paves the way for future work on expansion regions without having to worry about the FFI parts.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 39087a4d6f4..83efb3ea660 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2019,6 +2019,8 @@ unsafe extern "C" { NumExpressions: size_t, CodeRegions: *const crate::coverageinfo::ffi::CodeRegion, NumCodeRegions: size_t, + ExpansionRegions: *const crate::coverageinfo::ffi::ExpansionRegion, + NumExpansionRegions: size_t, BranchRegions: *const crate::coverageinfo::ffi::BranchRegion, NumBranchRegions: size_t, MCDCBranchRegions: *const crate::coverageinfo::ffi::MCDCBranchRegion, |
