diff options
| author | ridwanabdillahi <91507758+ridwanabdillahi@users.noreply.github.com> | 2022-05-24 11:22:14 -0700 |
|---|---|---|
| committer | ridwanabdillahi <91507758+ridwanabdillahi@users.noreply.github.com> | 2022-05-24 11:22:14 -0700 |
| commit | ab1f8ed2d912cfdefb5d6d734456732d5bb064e7 (patch) | |
| tree | b9c6d0a2ef36af17883c2db8e723f98d0fed0ddb /compiler/rustc_codegen_llvm/src/debuginfo | |
| parent | 60458b97e750452409aa7e7e2307be6205512167 (diff) | |
| download | rust-ab1f8ed2d912cfdefb5d6d734456732d5bb064e7.tar.gz rust-ab1f8ed2d912cfdefb5d6d734456732d5bb064e7.zip | |
Update documentation.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs b/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs index 355ef88382d..5186aee57fb 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs @@ -53,7 +53,7 @@ pub fn get_or_insert_gdb_debug_scripts_section_global<'ll>(cx: &CodegenCx<'ll, ' let crate_name = cx.tcx.crate_name(LOCAL_CRATE); for (index, visualizer) in visualizers.iter().enumerate() { // The initial byte `4` instructs GDB that the following pretty printer - // is defined inline as opposed to in a file standalone file. + // is defined inline as opposed to in a standalone file. section_contents.extend_from_slice(b"\x04"); let vis_name = format!("pretty-printer-{}-{}\n", crate_name.as_str(), index); section_contents.extend_from_slice(vis_name.as_bytes()); @@ -107,7 +107,7 @@ pub fn needs_gdb_debug_scripts_section(cx: &CodegenCx<'_, '_>) -> bool { false } CrateType::Rlib => { - // As per the above description, embedding visualizers for rlibs could + // As per the above description, embedding pretty printers for rlibs could // lead to ODR violations so we skip this crate type as well. false } |
