From ed21805aee9ad1abed5dc5157ac568e95fd84afb Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Tue, 8 Feb 2022 15:31:09 +0100 Subject: debuginfo: Bring back DW_AT_containing_type for vtables -- address review comments --- compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_codegen_ssa/src/debuginfo') diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index c1a378d74b2..3cb19c0eec6 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -470,7 +470,7 @@ fn push_debuginfo_type_name<'tcx>( } pub enum VTableNameKind { - // Is the name for const/static holding the vtable? + // Is the name for the const/static holding the vtable? GlobalVariable, // Is the name for the type of the vtable? Type, -- cgit 1.4.1-3-g733a5