rust/compiler/rustc_codegen_llvm/src
bors a737592a3d Auto merge of #91654 - nikic:llvmbc-section-flags, r=nagisa
Use module inline assembly to embed bitcode

In LLVM 14, our current method of setting section flags to avoid
embedding the `.llvmbc` section into final compilation artifacts
will no longer work, see issue #90326. The upstream recommendation
is to instead embed the entire bitcode using module-level inline
assembly, which is what this change does.

I've kept the existing code for platforms where we do not need to
set section flags, but possibly we should always be using the
inline asm approach (which would have to look a bit different for MachO).

r? `@nagisa`
2021-12-13 10:35:28 +00:00
..
back Auto merge of #91654 - nikic:llvmbc-section-flags, r=nagisa 2021-12-13 10:35:28 +00:00
coverageinfo Rollup merge of #91625 - est31:remove_indexes, r=oli-obk 2021-12-10 22:40:36 +01:00
debuginfo Remove redundant [..]s 2021-12-09 00:01:29 +01:00
llvm Adjust llvm wrapper for unwinding support for inlineasm 2021-12-03 23:51:49 +01:00
abi.rs Auto merge of #91003 - psumbera:sparc64-abi, r=nagisa 2021-12-02 02:59:44 +00:00
allocator.rs Include debug info for the allocator shim 2021-08-31 15:24:20 -07:00
asm.rs Rollup merge of #91625 - est31:remove_indexes, r=oli-obk 2021-12-10 22:40:36 +01:00
attributes.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
base.rs Use object crate for .rustc metadata generation 2021-12-07 09:39:05 +01:00
builder.rs Use more robust checks in rustc for wasm 2021-11-10 08:35:42 -08:00
callee.rs add platform support details file for armv7-unknown-linux-uclibc 2021-10-06 14:33:13 +00:00
common.rs Remove redundant [..]s 2021-12-09 00:01:29 +01:00
consts.rs Remove redundant [..]s 2021-12-09 00:01:29 +01:00
context.rs Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
declare.rs Remove the decl arg from FnAbi::llvm_type 2021-08-05 10:58:55 -07:00
intrinsic.rs LLVM codgen support for unwinding inline assembly 2021-12-03 23:51:49 +01:00
lib.rs Use object crate for .rustc metadata generation 2021-12-07 09:39:05 +01:00
llvm_util.rs replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00
mono_item.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_of.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
va_arg.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00