Remove in_band_lifetimes
from rustc_codegen_llvm
See #91867 for more information.
This commit is contained in:
parent
1d01550f7e
commit
4937a55dfb
28 changed files with 429 additions and 392 deletions
|
@ -141,7 +141,7 @@ impl CoverageMapGenerator {
|
|||
/// the `mapping_regions` and `virtual_file_mapping`, and capture any new filenames. Then use
|
||||
/// LLVM APIs to encode the `virtual_file_mapping`, `expressions`, and `mapping_regions` into
|
||||
/// the given `coverage_mapping` byte buffer, compliant with the LLVM Coverage Mapping format.
|
||||
fn write_coverage_mapping(
|
||||
fn write_coverage_mapping<'a>(
|
||||
&mut self,
|
||||
expressions: Vec<CounterExpression>,
|
||||
counter_regions: impl Iterator<Item = (Counter, &'a CodeRegion)>,
|
||||
|
@ -200,9 +200,9 @@ impl CoverageMapGenerator {
|
|||
/// Construct coverage map header and the array of function records, and combine them into the
|
||||
/// coverage map. Save the coverage map data into the LLVM IR as a static global using a
|
||||
/// specific, well-known section and name.
|
||||
fn generate_coverage_map(
|
||||
fn generate_coverage_map<'ll>(
|
||||
self,
|
||||
cx: &CodegenCx<'ll, 'tcx>,
|
||||
cx: &CodegenCx<'ll, '_>,
|
||||
version: u32,
|
||||
filenames_size: usize,
|
||||
filenames_val: &'ll llvm::Value,
|
||||
|
@ -229,7 +229,7 @@ impl CoverageMapGenerator {
|
|||
/// Save the function record into the LLVM IR as a static global using a
|
||||
/// specific, well-known section and name.
|
||||
fn save_function_record(
|
||||
cx: &CodegenCx<'ll, 'tcx>,
|
||||
cx: &CodegenCx<'_, '_>,
|
||||
mangled_function_name: String,
|
||||
source_hash: u64,
|
||||
filenames_ref: u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue