bjorn3
50b374627f
Move computation of decorated names out of the create_dll_import_lib method
2024-08-12 15:17:57 +02:00
bjorn3
c57eb5581f
Move temp file name generation out of the create_dll_import_lib method
2024-08-12 15:17:57 +02:00
Nicholas Nethercote
1cbbac3911
Reformat use
declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-08-12 15:17:57 +02:00
bjorn3
6199de2833
Sync ar_archive_writer to LLVM 18.1.3
...
From LLVM 15.0.0-rc3. This adds support for COFF archives containing
Arm64EC object files and has various fixes for AIX big archive files.
2024-08-12 15:17:57 +02:00
823984418
7f34119c1a
remove useless lifetime of ArchiveBuilder
2024-02-26 22:37:04 +08:00
bjorn3
690085c2da
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
e30385bc06
Support raw-dylib functions being used inside inlined functions
2022-10-24 16:17:38 -07:00
Ellis Hoag
d3bb849fe9
Add wrapper type for ExitCode for use in RanlibFailure
2022-09-24 10:24:48 -07:00
Ellis Hoag
ff9bf7b6b3
remove IntoDiagnosticArg impl for Option
2022-09-24 10:24:48 -07:00
Ellis Hoag
23eae52d45
Add RanlibFailure
2022-09-24 10:24:48 -07:00
bjorn3
3a8ff6140b
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
56f34865ae
Inline inject_dll_import_lib
2022-07-28 08:43:15 +00:00
bjorn3
a3ea31b846
Move output argument from ArchiveBuilder::new to .build()
2022-07-28 08:39:19 +00:00
Daniel Paoliello
fef3b3e27d
Enable raw-dylib for binaries
2022-07-22 09:55:14 -07:00
bjorn3
0d28d642b5
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
2c7038b860
Fix "Remove src_files and remove_file"
2022-06-19 12:56:31 +00:00
bjorn3
489d2daec0
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
40d30ceb43
Unconditionally update symbols
...
All paths to an ArchiveBuilder::build call update_symbols first.
2022-02-10 18:27:18 +01:00
Camille GILLOT
583170aec8
Move rustc_middle::middle::cstore to rustc_session.
2021-10-03 16:08:51 +02:00
Commeownist
48d60ab7c5
Update to nightly-2021-09-11 ( #79 )
...
* Implement `black_box` as intrinsic
Responsibility of implementing the black box is now lies on backend
* Remove some TODOs
* Update to nightly-2021-09-17
* CI: don't fail on warnings
2021-09-17 17:19:25 -04:00
Antoni Boucher
afae271d5d
Initial commit
2021-08-12 21:46:50 -04:00