about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/lto.rs
AgeCommit message (Expand)AuthorLines
2024-12-02Use c"lit" for CStrings without unwrapKornel-1/+1
2024-10-30Consistently use safe wrapper function `set_section`Zalathar-1/+2
2024-10-29Rollup merge of #132319 - Zalathar:add-module-flag, r=jieyouxuMatthias Krüger-18/+3
2024-10-29Don't set unnecessary module flag "LTOPostLink"Zalathar-18/+3
2024-10-29Rollup merge of #132216 - klensy:c_uint, r=cuviperJubilee-2/+2
2024-10-29Rollup merge of #131375 - klensy:clone_on_ref_ptr, r=cjgillotJubilee-1/+1
2024-10-29correct LLVMRustCreateThinLTOData arg typesklensy-2/+2
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+1
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-1/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-4/+3
2024-09-23Auto merge of #130724 - compiler-errors:bump, r=Mark-Simulacrumbors-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-21Call module_name_to_str instead of just unwrappingBen Kimock-1/+1
2024-09-19Reformat some comments.Nicholas Nethercote-6/+6
2024-09-11Simplify some nested if statementsMichael Goulet-5/+3
2024-09-09Remove `serialized_bitcode` from `LtoModuleCodegen`.Nicholas Nethercote-6/+2
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-5/+5
2024-08-20Avoid extra `cast()`s after `CStr::as_ptr()`Josh Stone-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-5/+5
2024-07-29Reformat `use` declarations.Nicholas Nethercote-17/+16
2024-07-16Fix unsafe_op_in_unsafe_fn in compilerMichael Goulet-5/+11
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-17/+20
2024-05-24Auto merge of #125463 - GuillaumeGomez:rollup-287wx4y, r=GuillaumeGomezbors-4/+15
2024-05-23cleanup: run rustfmtAugie Fackler-1/+4
2024-05-23thinlto: only build summary file if neededAugie Fackler-4/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+1
2024-05-22rustc_codegen_llvm: add support for writing summary bitcodeAugie Fackler-0/+8
2024-04-09Set target-abi module flag for RISC-V targetskxxt-1/+1
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-3/+3
2024-01-12Revert "Auto merge of #118568 - DianQK:no-builtins-symbols, r=pnkfelix"DianQK-1/+1
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-28/+14
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-25/+18
2023-12-18Rename `CodegenContext::create_diag_handler` as `CodegenContext::create_dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-6/+6
2023-12-14Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkinbors-1/+1
2023-12-12rustc_codegen_llvm: Enforce `rustc::potential_query_instability` lintMartin Nordholts-0/+3
2023-12-04Avoid adding compiler-used functions to `symbols.o`DianQK-1/+1
2023-12-03compiler: replace cstr macro with c str literals in compiler and few other c ...klensy-1/+1
2023-11-29Dispose llvm::TargetMachines prior to llvm::Context being disposedWesley Wiser-1/+2
2023-10-09Remove an LTO dependent cgu_reuse_tracker.set_actual_reuse callbjorn3-2/+0
2023-09-23allow LTO on `proc-macro` crates with `-Zdylib-lto`onur-ozkan-3/+12
2023-09-10Remove `verbose_generic_activity_with_arg`John Kåre Alsaker-1/+1
2023-09-07lto: handle Apple platforms correctly by eliding __LLVM, from section nameAugie Fackler-1/+4
2023-09-07lto: load bitcode sections by nameAugie Fackler-4/+23
2023-09-01remove unnecessary heap allocationXXIV-1/+1
2023-07-31Use standard Rust capitalization rules for names containing "LTO".Nicholas Nethercote-5/+5
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-3/+3
2023-07-05Revert "use new c literals instead of cstr! macro"León Orell Valerian Liehr-1/+1
2023-07-02Add `rustc` option to output LLVM optimization remarks to YAML filesJakub Beránek-2/+8
2023-05-31use new c literals instead of cstr! macroklensy-1/+1