rust/compiler/rustc_codegen_ssa/src/back
bors 9a576175cc Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov
Partial support for raw-dylib linkage

First cut of functionality for issue #58713: add support for `#[link(kind = "raw-dylib")]` on `extern` blocks in lib crates compiled to .rlib files.  Does not yet support `#[link_name]` attributes on functions, or the `#[link_ordinal]` attribute, or `#[link(kind = "raw-dylib")]` on `extern` blocks in bin crates; I intend to publish subsequent PRs to fill those gaps.  It's also not yet clear whether this works for functions in `extern "stdcall"` blocks; I also intend to investigate that shortly and make any necessary changes as a follow-on PR.

This implementation calls out to an LLVM function to construct the actual `.idata` sections as temporary `.lib` files on disk and then links those into the generated .rlib.
2021-06-06 03:59:17 +00:00
..
rpath mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
archive.rs Add first cut of functionality for #58713: support for #[link(kind = "raw-dylib")]. 2021-06-04 18:01:35 -07:00
command.rs Instruct lld that our @ files are posix-style, not Windows 2020-10-05 08:01:44 -04:00
link.rs Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov 2021-06-06 03:59:17 +00:00
linker.rs Pass target features to bpf-linker 2021-05-23 18:03:27 +10:00
lto.rs Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
metadata.rs rustc: Store metadata-in-rlibs in object files 2021-06-04 10:05:20 -07:00
mod.rs Use the object crate for metadata reading 2021-05-07 18:48:58 +02:00
rpath.rs Fix tests 2021-03-03 11:22:44 +01:00
symbol_export.rs Revert "Reduce the amount of untracked state in TyCtxt" 2021-06-01 09:05:22 +02:00
write.rs Use () for codegen queries. 2021-05-12 13:58:46 +02:00