about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/back
AgeCommit message (Collapse)AuthorLines
2025-09-06Remove want_summary argument from prepare_thinbjorn3-5/+2
It is always false nowadays. ThinLTO summary writing is instead done by llvm_optimize.
2025-09-06Remove thin_link_data method from ThinBufferMethodsbjorn3-4/+0
It is only used within cg_llvm.
2025-09-04Special case allocator module submission to avoid special casing it elsewherebjorn3-1/+1
A lot of places had special handling just in case they would get an allocator module even though most of these places could never get one or would have a trivial implementation for the allocator module. Moving all handling of the allocator module to a single place simplifies things a fair bit.
2025-08-24Directly raise fatal errors inside the codegen backendsbjorn3-21/+19
As opposed to passing it around through Result.
2025-07-26Remove support for -Zcombine-cgubjorn3-9/+0
Nobody seems to actually use this, while still adding some extra complexity to the already rather complex codegen coordinator code. It is also not supported by any backend other than the LLVM backend.
2025-07-21Remove each_linked_rlib_for_lto from CodegenContextbjorn3-3/+6
2025-07-21Move exported_symbols_for_lto out of CodegenContextbjorn3-3/+0
2025-07-21Merge exported_symbols computation into exported_symbols_for_ltobjorn3-4/+2
And move exported_symbols_for_lto call from backends to cg_ssa.
2025-07-21Move LTO symbol export calculation from backends to cg_ssabjorn3-66/+8
2025-07-21Merge modules and cached_modules for fat LTObjorn3-12/+0
The modules vec can already contain serialized modules and there is no need to distinguish between cached and non-cached cgus at LTO time.
2025-07-03Move dcx creation into WriteBackendMethods::codegenbjorn3-1/+3
2025-07-03Remove LtoModuleCodegenbjorn3-8/+7
Most uses of it either contain a fat or thin lto module. Only WorkItem::LTO could contain both, but splitting that enum variant doesn't complicate things much.
2025-06-18Merge commit 'fda0bb9588912a3e0606e880ca9f6e913cf8a5a4' into ↵Guillaume Gomez-1/+4
subtree-update_cg_gcc_2025-06-18
2025-05-14Merge commit '6ba33f5e1189a5ae58fb96ce3546e76b13d090f5' into ↵Guillaume Gomez-2/+2
subtree-update_cg_gcc_2025-05-14
2025-05-04Initial support for dynamically linked cratesBryanskiy-1/+5
2025-04-07Prepend temp files with a string per invocation of rustcMichael Goulet-5/+21
2025-04-07Simplify temp path creation a bitMichael Goulet-8/+5
2025-02-23Add `new_regular` and `new_allocator` to `ModuleCodegen`DianQK-5/+4
2025-02-11compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"Askar Safin-4/+0
2025-01-13Merge commit '59a81c2ca1edc88ad3ac4b27a8e03977ffb8e73a' into ↵Antoni Boucher-62/+132
subtree-update_cg_gcc_2025_01_12
2025-01-07llvm: Ignore error value that is always falseMatthew Maurer-3/+1
See llvm/llvm-project#121851 For LLVM 20+, this function (`renameModuleForThinLTO`) has no return value. For prior versions of LLVM, this never failed, but had a signature which allowed an error value people were handling.
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-09Remove `serialized_bitcode` from `LtoModuleCodegen`.Nicholas Nethercote-3/+1
It's unused.
2024-07-10Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into masterGuillaume Gomez-14/+410
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-8/+9
This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle
2024-04-06Save/restore more items in cache with incremental compilationMichael Baikov-0/+2
2024-03-05Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into ↵Guillaume Gomez-57/+91
subtree-update_cg_gcc_2024-03-05
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-14/+14
2023-12-18Rename `CodegenContext::create_diag_handler` as `CodegenContext::create_dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-6/+6
2023-10-09Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into ↵Antoni Boucher-9/+435
subtree-update_cg_gcc_2023-10-09
2023-03-05Merge commit '08a6d6e16b5efe217123e780398969946266268f' into ↵Antoni Boucher-0/+1
sync-cg_gcc-2023-03-04
2022-04-07simplify a self-profiling activity call in the cg_gcc backendRémy Rakic-1/+1
2022-03-26Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into ↵bjorn3-1/+6
sync_cg_gcc-2022-03-26
2021-12-31Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into ↵bjorn3-12/+12
sync_cg_clif-2021-12-31
2021-12-09Remove redundant [..]sest31-2/+2
2021-08-15Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegenAntoni Boucher-172/+16
2021-08-12Add 'compiler/rustc_codegen_gcc/' from commit ↵Antoni Boucher-0/+235
'afae271d5d3719eeb92c18bc004bb6d1965a5f3f' git-subtree-dir: compiler/rustc_codegen_gcc git-subtree-mainline: ae90dcf0207c57c3034f00b07048d63f8b2363c8 git-subtree-split: afae271d5d3719eeb92c18bc004bb6d1965a5f3f