about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/driver
AgeCommit message (Collapse)AuthorLines
2023-03-15Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into ↵bjorn3-3/+7
sync_cg_clif-2023-03-15
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-11/+7
2023-02-09Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into ↵bjorn3-91/+100
sync_cg_clif-2023-02-09
2023-01-24Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into ↵bjorn3-3/+15
sync_cg_clif-2023-01-24
2022-12-14Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into ↵bjorn3-5/+10
sync_cg_clif-2022-12-14
2022-10-23Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into ↵bjorn3-35/+18
sync_cg_clif-2022-10-23
2022-08-24Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into ↵bjorn3-258/+351
sync_cg_clif-2022-08-24
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear.
2022-07-06incr: cache dwarf objects in work productsDavid Wood-2/+9
Cache DWARF objects alongside object files in work products when those exist so that DWARF object files are available for thorin in packed mode in incremental scenarios. Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-1/+1
2022-06-06Make saved_file field of WorkProduct non-optionalbjorn3-15/+10
A WorkProduct without a saved file is useless
2022-06-06Factor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir callbjorn3-5/+1
This improves clarity of the code a bit
2022-06-06Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir callsbjorn3-1/+1
2022-06-06Rename CodegenUnit::work_product to previous_work_productbjorn3-1/+1
It returns the previous work product or panics if there is none. This rename makes the purpose of this method clearer.
2022-05-15Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into ↵bjorn3-2/+2
sync_cg_clif-2022-05-15
2022-04-08check_doc_keyword: don't alloc string for emptiness checkklensy-2/+2
check_doc_alias_value: get argument as Symbol to prevent needless string convertions check_doc_attrs: don't alloc vec, iterate over slice. Vec introduced in #83149, but no perf run posted on merge replace as_str() check with symbol check get_single_str_from_tts: don't prealloc string trivial string to str replace LifetimeScopeForPath::NonElided use Vec<Symbol> instead of Vec<String> AssertModuleSource use BTreeSet<Symbol> instead of BTreeSet<String> CrateInfo.crate_name replace FxHashMap<CrateNum, String> with FxHashMap<CrateNum, Symbol>
2022-04-03Cleanup after some refactoring in rustc_targetLoïc BRANSTETT-2/+6
2022-03-20Merge commit '370c397ec9169809e5ad270079712e0043514240' into ↵bjorn3-3/+4
sync_cg_clif-2022-03-20
2022-02-23Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into ↵bjorn3-9/+4
sync_cg_clif-2022-02-23
2021-12-30Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into ↵bjorn3-1/+1
sync_cg_clif-2021-12-30
2021-12-20Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into ↵bjorn3-8/+23
sync_cg_clif-2021-12-20
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-3/+3
2021-10-20Make hash_result an Option.Camille GILLOT-1/+1
2021-09-30Move EncodedMetadata to rustc_metadata.Camille GILLOT-1/+1
2021-09-19Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into ↵bjorn3-7/+16
sync_cg_clif-2021-09-19
2021-09-02Use in_incr_comp_dir_sess in cg_clifbjorn3-2/+1
2021-07-07Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into ↵bjorn3-21/+111
sync_cg_clif-2021-07-07
2021-07-06Move LinkerInfo into CrateInfobjorn3-4/+2
2021-07-05Remove LibSourcebjorn3-1/+1
The information is stored in used_crate_source too anyway
2021-06-04Move crate_name field from OngoingCodegen to CrateInfobjorn3-1/+0
2021-06-04Move windows_subsystem field from CodegenResults to CrateInfobjorn3-16/+0
2021-05-27Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into ↵bjorn3-10/+14
sync_cg_clif-2021-05-27
2021-05-17Auto merge of #85178 - cjgillot:local-crate, r=oli-obkbors-8/+7
Remove CrateNum parameter for queries that only work on local crate The pervasive `CrateNum` parameter is a remnant of the multi-crate rustc idea. Using `()` as query key in those cases avoids having to worry about the validity of the query key.
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-3/+14
On x86, the default syntax is also switched to Intel to match asm!
2021-05-12Use () for codegen queries.Camille GILLOT-7/+6
2021-05-12Use () in dependency_formats.Camille GILLOT-1/+1
2021-05-12Auto merge of #83610 - bjorn3:driver_cleanup, r=cjgillotbors-1/+1
rustc_driver cleanup Best reviewed one commit at a time.
2021-05-02Pass target_cpu to LinkerInfo::new instead of link_binarybjorn3-1/+1
This is one step towards separating the linking code from codegen backends
2021-04-30[cg_clif] Fix run_jit from syncErin Power-51/+5
2021-04-30Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'Erin Power-133/+147
2021-04-29Implement RFC 1260 with feature_name `imported_main`.Charles Lew-1/+1
2021-03-29Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into ↵bjorn3-35/+84
sync_cg_clif-2021-03-29
2021-03-05Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into ↵bjorn3-185/+80
sync_cg_clif-2021-03-05
2021-02-19Use a QueryContext for try_mark_green.Camille GILLOT-5/+1
2021-02-15Use an ItemId inside mir::GlobalAsm.Camille GILLOT-6/+5
2021-02-01Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into ↵bjorn3-21/+7
sync_cg_clif-2021-02-01
2020-12-27Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into ↵bjorn3-59/+194
sync_cg_clif-2020-12-27
2020-12-16cg_clif: fix build with split dwarfDavid Wood-0/+3
This commit makes minor changes to the cranelift backend so that it can build given changes in cg_ssa for Split DWARF. Signed-off-by: David Wood <david@davidtw.co>
2020-11-27Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into ↵bjorn3-25/+23
sync_cg_clif-2020-11-27
2020-11-08Collapse all uses of `target.options.foo` into `target.foo`Vadim Petrochenkov-2/+2
with an eye on merging `TargetOptions` into `Target`. `TargetOptions` as a separate structure is mostly an implementation detail of `Target` construction, all its fields logically belong to `Target` and available from `Target` through `Deref` impls.