RustWrapper: adapt for coverage mapping API changes
This commit is contained in:
parent
bc1b9e0e9a
commit
14ec3b6c91
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ extern "C" void LLVMRustCoverageWriteMappingToBuffer(
|
|||
RustMappingRegions, NumMappingRegions)) {
|
||||
MappingRegions.emplace_back(
|
||||
fromRust(Region.Count), fromRust(Region.FalseCount),
|
||||
#if LLVM_VERSION_GE(18, 0)
|
||||
#if LLVM_VERSION_GE(18, 0) && LLVM_VERSION_LT(19, 0)
|
||||
coverage::CounterMappingRegion::MCDCParameters{},
|
||||
#endif
|
||||
Region.FileID, Region.ExpandedFileID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue