Mazdak Farrokhzad
4392a8b73c
use direct imports for rustc::{lint, session}
.
2020-03-16 02:52:06 +01:00
Mazdak Farrokhzad
4ff12ce4c1
Normalize syntax::symbol
imports.
2020-01-02 13:57:04 +01:00
Mark Rousskov
a06baa56b9
Format the world
2019-12-22 17:42:47 -05:00
Michael Woerister
52eda13031
Fix issue #64153 by checking for .rcgu.o suffix when trying to identify Rust generated object files.
2019-10-22 12:33:35 +02:00
Nicholas Nethercote
482d63673c
Use Symbol
in Linker
.
2019-09-11 11:31:38 +10:00
Mazdak Farrokhzad
a2500db858
Rollup merge of #62286 - petrhosek:rustc-no-duplicate-archives, r=cramertj
...
Check if the archive has already been added to avoid duplicates
This avoids adding archives multiple times, which results in duplicate
objects in the resulting rlib, leading to symbol collision and link
failures. This could happen when crate contains multiple link attributes
that all reference the same archive.
2019-07-07 17:00:20 +02:00
Petr Hosek
069c52fa11
Check if the archive has already been added to avoid duplicates
...
This avoids adding archives multiple times, which results in duplicate
objects in the resulting rlib, leading to symbol collision and link
failures. This could happen when crate contains multiple link attributes
that all reference the same archive.
2019-07-02 00:42:56 -07:00
Chris Gregory
636f5e6d11
Convert more usages over
2019-07-01 20:21:12 -07:00
bjorn3
d8bce01a04
Make link functions generic over archive builder
2019-04-20 13:21:40 +02:00
bjorn3
892c88b32f
Move some filename constants to cg_ssa
2019-04-20 13:21:40 +02:00
Mazdak Farrokhzad
9661a81968
librustc_codegen_llvm: deny(elided_lifetimes_in_paths)
2019-02-25 08:40:18 +01:00
Taiki Endo
1b7ca961d9
librustc_codegen_llvm => 2018
2019-02-18 03:58:58 +09:00
Alexander Regueiro
c3e182cf43
rustc: doc comments
2019-02-10 23:42:32 +00:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Denis Merigoux
b9e5cf99a9
Separating the back folder between backend-agnostic and LLVM-specific code
2018-11-16 15:08:18 +02:00
ljedrz
0195d9b95f
codegen_llvm_back: use to_owned instead of to_string with string literals
2018-11-10 19:25:23 +01:00
ljedrz
3dbb2cc864
codegen_llvm_back: improve common patterns
2018-11-10 19:25:22 +01:00
ljedrz
4286c3c1b0
codegen_llvm_back: remove explicit returns
2018-11-10 19:25:21 +01:00
ljedrz
c4c39e9395
codegen_llvm_back: use Cow<'static, str> where applicable
2018-11-10 19:22:38 +01:00
ljedrz
1d1dc48407
codegen_llvm_back: whitespace & formatting fixes
2018-11-10 19:22:37 +01:00
bjorn3
942864a000
Move cg_llvm: 🔙 :linker to cg_utils
2018-11-03 13:35:09 +01:00
Irina Popa
b643e5144e
rustc_codegen_llvm: use safe references for RustArchiveMember.
2018-07-30 20:10:44 +03:00
Irina Popa
c7669dff2a
rustc_codegen_llvm: use safe references for ArchiveChild.
2018-07-30 20:10:43 +03:00
Irina Popa
af04e9426c
rustc_codegen_llvm: move from empty enums to extern types.
2018-07-30 18:12:47 +03:00
ljedrz
57a5a9b054
Prefer to_string() to format!()
2018-07-27 11:11:18 +02:00
ljedrz
ea473502f3
Deny bare trait objects in in src/librustc_codegen_llvm
2018-07-11 12:49:11 +02:00
Irina Popa
b63d7e2b1c
Rename trans to codegen everywhere.
2018-05-17 15:08:30 +03:00