diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-01-24 05:02:41 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-01-24 05:02:41 +0000 |
| commit | 00cc1ece569c77ec5833c6b92356d31b5ef01754 (patch) | |
| tree | 47134f778683bcf0892919ecbb2dfec572a7a426 /compiler/rustc_codegen_llvm/src | |
| parent | b3f1996cef3243b882558d2456db672f615265ee (diff) | |
| parent | c9ae0bbffb86d45e313bfe9515af513ce6ab49c9 (diff) | |
| download | rust-00cc1ece569c77ec5833c6b92356d31b5ef01754.tar.gz rust-00cc1ece569c77ec5833c6b92356d31b5ef01754.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index 509b24dd703..4706744f353 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -769,12 +769,9 @@ pub(crate) unsafe fn codegen( } } - // Two things to note: - // - If object files are just LLVM bitcode we write bitcode, copy it to - // the .o file, and delete the bitcode if it wasn't otherwise - // requested. - // - If we don't have the integrated assembler then we need to emit - // asm from LLVM and use `gcc` to create the object file. + // Note that if object files are just LLVM bitcode we write bitcode, + // copy it to the .o file, and delete the bitcode if it wasn't + // otherwise requested. let bc_out = cgcx.output_filenames.temp_path(OutputType::Bitcode, module_name); let bc_summary_out = |
