bjorn3
be6708428f
Rewrite LLVM's archive writer in Rust
...
This allows it to be used by other codegen backends
2022-11-26 19:35:32 +00:00
Daniel Paoliello
3a1ef50b34
Support raw-dylib functions being used inside inlined functions
2022-10-24 16:17:38 -07:00
Ellis Hoag
e906ea80fe
Add wrapper type for ExitCode for use in RanlibFailure
2022-09-24 10:24:48 -07:00
Ellis Hoag
fb488ad366
remove IntoDiagnosticArg impl for Option
2022-09-24 10:24:48 -07:00
Ellis Hoag
9363f0fda5
Add RanlibFailure
2022-09-24 10:24:48 -07:00
bjorn3
7c6c7e8785
Introduce an ArchiveBuilderBuilder
...
This avoids monomorphizing all linker code for each codegen backend and
will allow passing in extra information to the archive builder from the
codegen backend.
2022-07-28 09:08:47 +00:00
bjorn3
90da3c6f2b
Inline inject_dll_import_lib
2022-07-28 08:43:15 +00:00
bjorn3
7c93154a30
Move output argument from ArchiveBuilder::new to .build()
2022-07-28 08:39:19 +00:00
Daniel Paoliello
1f33785ed4
Enable raw-dylib for binaries
2022-07-22 09:55:14 -07:00
bjorn3
18c6fe5798
Remove the source archive functionality of ArchiveWriter
...
We now build archives through strictly additive means rather than taking
an existing archive and potentially substracting parts.
2022-06-19 12:56:31 +00:00
bjorn3
7ff0df5102
Fix "Remove src_files and remove_file"
2022-06-19 12:56:31 +00:00
bjorn3
43929a8a75
Remove src_files and remove_file
...
They only apply to the main source archive and their role can be
fulfilled through the skip argument of add_archive too.
2022-06-14 15:11:14 +00:00
bjorn3
609784711a
Unconditionally update symbols
...
All paths to an ArchiveBuilder::build call update_symbols first.
2022-02-10 18:27:18 +01:00
Camille GILLOT
8961616e60
Move rustc_middle::middle::cstore to rustc_session.
2021-10-03 16:08:51 +02:00
Antoni Boucher
df487317d0
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
2021-09-17 17:52:40 -04:00
Antoni Boucher
f7237f16ae
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
...
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: ae90dcf020
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00