rust/compiler/rustc_codegen_llvm/src
Jubilee Young 45d61b0d26 cg_llvm: Reuse LLVM-C Comdat support
Migrate `llvm::set_comdat` and `llvm::SetUniqueComdat` to LLVM-C FFI.

Note, now we can call `llvm::set_comdat` only when the target actually
supports adding comdat. As this has no convenient LLVM-C API, we
implement this as `TargetOptions::supports_comdat`.

Co-authored-by: Stuart Cook <Zalathar@users.noreply.github.com>
2024-10-19 10:46:10 -07:00
..
back Use &raw in the compiler 2024-09-26 20:33:26 -07:00
coverageinfo cg_llvm: Reuse LLVM-C Comdat support 2024-10-19 10:46:10 -07:00
debuginfo Use wide pointers consistenly across the compiler 2024-10-04 14:06:48 +02:00
llvm cg_llvm: Reuse LLVM-C Comdat support 2024-10-19 10:46:10 -07:00
abi.rs compiler: Factor rustc_target::abi out of cg_llvm 2024-10-08 18:24:56 -07:00
allocator.rs Replace -Z default-hidden-visibility with -Z default-visibility 2024-10-01 22:32:13 +10:00
asm.rs Fix AArch64InlineAsmReg::emit 2024-10-14 06:04:07 +09:00
attributes.rs codegen_ssa: consolidate tied feature checking 2024-09-24 15:48:49 +01:00
base.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00
builder.rs compiler: Factor rustc_target::abi out of cg_llvm 2024-10-08 18:24:56 -07:00
callee.rs Streamline hidden visibility setting. 2024-09-19 20:10:42 +10:00
common.rs LLVMConstInt only allows integer types 2024-10-12 23:02:15 +08:00
consts.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
context.rs llvm: Match aarch64 data layout to new LLVM layout 2024-10-16 01:16:44 +00:00
declare.rs Use Default visibility for rustc-generated C symbol declarations 2024-10-11 08:43:27 +11:00
errors.rs codegen_ssa: consolidate tied feature checking 2024-09-24 15:48:49 +01:00
intrinsic.rs cg_llvm: Reuse LLVM-C Comdat support 2024-10-19 10:46:10 -07:00
lib.rs Use &raw in the compiler 2024-09-26 20:33:26 -07:00
llvm_util.rs Rollup merge of #130741 - mrkajetanp:detect-b16b16, r=Amanieu 2024-10-10 22:00:48 +02:00
mono_item.rs cg_llvm: Reuse LLVM-C Comdat support 2024-10-19 10:46:10 -07:00
type_.rs replace some deprecated functions 2024-09-19 09:39:28 +08:00
type_of.rs compiler: Factor rustc_target::abi out of cg_llvm 2024-10-08 18:24:56 -07:00
va_arg.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00