about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
AgeCommit message (Collapse)AuthorLines
2023-01-11rustc_llvm: replace llvm::makeArrayRef with ArrayRef constructors.Dmitri Gribenko-5/+6
LLVM upstream has deprecated llvm::makeArrayRef and will remove it.
2022-08-14Update the minimum external LLVM to 13Josh Stone-11/+0
2021-11-23Update CoverageMappingFormat Support to Version6Arpad Borsos-2/+7
Version 5 adds Branch Regions which are a prerequisite for branch coverage. Version 6 can use the zeroth filename as prefix for other relative files.
2021-10-22Update the minimum external LLVM to 11Josh Stone-7/+0
2021-03-19fix: I meant LLVM version 13, not 12Augie Fackler-1/+1
2021-03-16llvm-wrapper: pass std::string instead of StringRefAugie Fackler-0/+7
LLVM change 5fbd1a333aa1a0b70903d036b98ea56c51ae5224 modified this function to want std::string instead of StringRef, which is easily done.
2021-03-01Don't directly expose coverage::CounterMappingRegion via FFINikita Popov-2/+22
The definition of this struct changes in LLVM 12 due to the addition of branch coverage support. To avoid future mismatches, declare our own struct and then convert between them.
2020-11-25Improved version checkRich Kadel-3/+2
2020-11-24Check for LLVM 11+ when using `-Z instrument-coverage`Rich Kadel-0/+8
* `rustc` should now compile under LLVM 9 or 10 * Compiler generates an error if `-Z instrument-coverage` is specified but LLVM version is less than 11 * Coverage tests that require `-Z instrument-coverage` and run codegen should be skipped if LLVM version is less than 11
2020-11-23Upgrades the coverage map to Version 4Rich Kadel-16/+31
Changes the coverage map injected into binaries compiled with `-Zinstrument-coverage` to LLVM Coverage Mapping Format, Version 4 (from Version 3). Note, binaries compiled with this version will require LLVM tools from at least LLVM Version 11.
2020-09-09Move `rustllvm` into `rustc_llvm`Vadim Petrochenkov-0/+70