diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-30 21:39:12 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-30 22:53:21 +0000 |
| commit | 897acc3e5d3622927118924fa920c8be0ef6f154 (patch) | |
| tree | 259f699bfddad26f179bdd7b165d7deacac20584 /compiler/rustc_sanitizers | |
| parent | 46424fb5054f211ec836c5c03159f92e46bb35ac (diff) | |
| download | rust-897acc3e5d3622927118924fa920c8be0ef6f154.tar.gz rust-897acc3e5d3622927118924fa920c8be0ef6f154.zip | |
Encode synthetic by-move coroutine body with a different DefPathData
Diffstat (limited to 'compiler/rustc_sanitizers')
| -rw-r--r-- | compiler/rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi/encode.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi/encode.rs b/compiler/rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi/encode.rs index e088417d72e..d56ca9c2453 100644 --- a/compiler/rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi/encode.rs +++ b/compiler/rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi/encode.rs @@ -716,6 +716,7 @@ fn encode_ty_name(tcx: TyCtxt<'_>, def_id: DefId) -> String { hir::definitions::DefPathData::Ctor => "c", hir::definitions::DefPathData::AnonConst => "k", hir::definitions::DefPathData::OpaqueTy => "i", + hir::definitions::DefPathData::SyntheticCoroutineBody => "s", hir::definitions::DefPathData::CrateRoot | hir::definitions::DefPathData::Use | hir::definitions::DefPathData::GlobalAsm |
