parent
1aa6aefdc9
commit
0a285e8de7
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ extern "C" void LLVMRustCoverageWriteMappingToBuffer(
|
||||||
RustMappingRegions, NumMappingRegions)) {
|
RustMappingRegions, NumMappingRegions)) {
|
||||||
MappingRegions.emplace_back(
|
MappingRegions.emplace_back(
|
||||||
fromRust(Region.Count), fromRust(Region.FalseCount),
|
fromRust(Region.Count), fromRust(Region.FalseCount),
|
||||||
|
#if LLVM_VERSION_GE(18, 0)
|
||||||
|
coverage::CounterMappingRegion::MCDCParameters{},
|
||||||
|
#endif
|
||||||
Region.FileID, Region.ExpandedFileID,
|
Region.FileID, Region.ExpandedFileID,
|
||||||
Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd,
|
Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd,
|
||||||
fromRust(Region.Kind));
|
fromRust(Region.Kind));
|
||||||
|
|
Loading…
Add table
Reference in a new issue