rust/compiler/rustc_codegen_llvm/src
Dylan DPC aeeac5dd0c
Rollup merge of #104001 - Ayush1325:custom-entry, r=bjorn3
Improve generating Custom entry function

This commit is aimed at making compiler-generated entry functions (Basically just C `main` right now) more generic so other targets can do similar things for custom entry. This was initially implemented as part of https://github.com/rust-lang/rust/pull/100316.

Currently, this moves the entry function name and Call convention to the target spec.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-11-19 11:54:43 +05:30
..
back Rollup merge of #104105 - davidtwco:split-dwarf-lto, r=michaelwoerister 2022-11-13 21:49:25 -05:00
coverageinfo Port Instrument coverage requires llvm 12 to the new struct 2022-11-09 14:56:20 +01:00
debuginfo Introduce composite debuginfo. 2022-11-15 17:53:50 +00:00
llvm Introduce composite debuginfo. 2022-11-15 17:53:50 +00:00
abi.rs Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
allocator.rs Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
asm.rs Rollup merge of #103977 - TimNN:memory-effects, r=nikic 2022-11-05 00:02:05 +01:00
attributes.rs Simplify existing Diagnostic implementations 2022-11-09 14:56:21 +01:00
base.rs Remove several unused methods from MiscMethods 2022-10-01 16:45:07 +00:00
builder.rs Use &mut Bx more. 2022-11-16 15:46:39 +11:00
callee.rs Get rid of native_library projection queries 2022-10-19 16:21:21 +02:00
common.rs Introduce a fallible variant of LLVMConstIntGetZExtValue 2022-09-09 15:54:14 +02:00
consts.rs Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obk 2022-11-15 17:37:15 +00:00
context.rs Rollup merge of #104001 - Ayush1325:custom-entry, r=bjorn3 2022-11-19 11:54:43 +05:30
declare.rs Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
errors.rs Use LayoutError's implementation of IntoDiagnostic 2022-11-09 14:56:21 +01:00
intrinsic.rs prevent uninitialized access in black_box for zero-sized-types 2022-11-08 11:19:14 +00:00
lib.rs Port diagnostics created by Handler 2022-11-09 14:56:21 +01:00
llvm_util.rs Update compiler/rustc_codegen_llvm/src/llvm_util.rs 2022-11-12 18:46:39 -05:00
mono_item.rs Fix diag() and formatting 2022-11-09 14:56:20 +01:00
type_.rs Add type_array to BaseTypeMethods 2022-11-06 14:18:36 +05:30
type_of.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
va_arg.rs Introduce Bx::switch_to_block 2022-02-24 12:18:21 +01:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00