File tree 1 file changed +2
-2
lines changed
compiler/rustc_codegen_llvm/src/debuginfo
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub fn get_or_insert_gdb_debug_scripts_section_global<'ll>(cx: &CodegenCx<'ll, '
53
53
let crate_name = cx. tcx . crate_name ( LOCAL_CRATE ) ;
54
54
for ( index, visualizer) in visualizers. iter ( ) . enumerate ( ) {
55
55
// The initial byte `4` instructs GDB that the following pretty printer
56
- // is defined inline as opposed to in a file standalone file.
56
+ // is defined inline as opposed to in a standalone file.
57
57
section_contents. extend_from_slice ( b"\x04 " ) ;
58
58
let vis_name = format ! ( "pretty-printer-{}-{}\n " , crate_name. as_str( ) , index) ;
59
59
section_contents. extend_from_slice ( vis_name. as_bytes ( ) ) ;
@@ -107,7 +107,7 @@ pub fn needs_gdb_debug_scripts_section(cx: &CodegenCx<'_, '_>) -> bool {
107
107
false
108
108
}
109
109
CrateType :: Rlib => {
110
- // As per the above description, embedding visualizers for rlibs could
110
+ // As per the above description, embedding pretty printers for rlibs could
111
111
// lead to ODR violations so we skip this crate type as well.
112
112
false
113
113
}
You can’t perform that action at this time.
0 commit comments