RustWrapper: adapt for coverage mapping API changes
This commit is contained in:
parent
bc1b9e0e9a
commit
14ec3b6c91
@ -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…
Reference in New Issue
Block a user