rust/src/librustc_codegen_utils
Mazdak Farrokhzad a053baefeb
Rollup merge of #63559 - eddyb:v0-mangling-off-by-1, r=estebank
rustc_codegen_utils: account for 1-indexed anonymous lifetimes in v0 mangling.

I don't really understand why `anonymize_late_bound_regions` starts with `BrAnon(1)` instead of `BrAnon(0)`, but it does (maybe @nikomatsakis knows?): c43d03a19f/src/librustc/ty/fold.rs (L696-L712)

Thankfully, the mangling format and demangler implementations are fine, and I just needed to offset the anonymized lifetime indices by `1` to get the correct mangling.

cc @alexcrichton @michaelwoerister
2019-08-17 11:13:45 +02:00
..
symbol_names rustc_codegen_utils: account for 1-indexed anonymous lifetimes in v0 mangling. 2019-08-14 18:53:22 +03:00
Cargo.toml Update rustc-demangle to 0.1.16. 2019-08-14 10:35:24 +03:00
codegen_backend.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
lib.rs Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
link.rs normalize use of backticks for compiler messages in librustc_codegen 2019-07-08 00:54:38 +02:00
symbol_names.rs rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
symbol_names_test.rs rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-04 12:53:12 +02:00