about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/declare.rs
AgeCommit message (Collapse)AuthorLines
2019-02-18librustc_codegen_llvm => 2018Taiki Endo-7/+7
2019-01-25Resolve breakageSimonas Kazlauskas-22/+2
2019-01-24Support revisions for codegen testsSimonas Kazlauskas-2/+2
`compile-flags: -Copt-level` will avoid adding -O. Similarly for -g and -Cdebuglevel.
2019-01-24Implement optimize(size) and optimize(speed)Simonas Kazlauskas-6/+15
2018-12-25Remove licensesMark Rousskov-9/+0
2018-12-12rustc: Switch `extern` functions to abort by default on panicAlex Crichton-10/+1
This was intended to land way back in 1.24, but it was backed out due to breakage which has long since been fixed. An unstable `#[unwind]` attribute can be used to tweak the behavior here, but this is currently simply switching rustc's internal default to abort-by-default if an `extern` function panics, making our codegen sound primarily (as currently you can produce UB with safe code) Closes #52652
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-1/+1
2018-11-16Finished moving backend-agnostic code to rustc_codegen_ssaDenis Merigoux-1/+1
2018-11-16Move doc to trait declarationsDenis Merigoux-40/+0
2018-11-16Adapt code to latest rustc master changesDenis Merigoux-2/+2
2018-11-16Generalized mir::codegen_mir (and all subsequent functions)Denis Merigoux-120/+128
2018-11-16Removed genericity over Value in various functionsDenis Merigoux-9/+9
Prelude to using associated types in traits rather than type parameters
2018-11-16Generalized base.rs#call_memcpy and everything that it usesDenis Merigoux-7/+11
Generalized operand.rs#nontemporal_store and fixed tidy issues Generalized operand.rs#nontemporal_store's implem even more With a BuilderMethod trait implemented by Builder for LLVM Cleaned builder.rs : no more code duplication, no more ValueTrait Full traitification of builder.rs
2018-10-24Make declare_fn accept PolyFnSig instead of Ty.Masaki Hara-11/+7
2018-10-24Make declare_fn aware of vtable shims.Masaki Hara-3/+5
2018-10-11Support for disabling the PLT on ELF targetsGabriel Majeri-0/+2
Disable the PLT where possible to improve performance for indirect calls into shared libraries. This optimization is enabled by default where possible. - Add the `NonLazyBind` attribute to `rustllvm`: This attribute informs LLVM to skip PLT calls in codegen. - Disable PLT unconditionally: Apply the `NonLazyBind` attribute on every function. - Only enable no-plt when full relro is enabled: Ensures we only enable it when we have linker support. - Add `-Z plt` as a compiler option
2018-09-30use is_uninhabited in more placesJorge Aparicio-2/+2
2018-09-29Revert "Auto merge of #53508 - japaric:maybe-uninit, r=RalfJung"Ralf Jung-2/+2
This reverts commit c6e3d7fa3113aaa64602507f39d4627c427742ff, reversing changes made to 4591a245c7eec9f70d668982b1383cd2a6854af5.
2018-09-22use is_uninhabited in more placesJorge Aparicio-2/+2
2018-08-10Introduce SmallCStr and use it where applicable.Michael Woerister-10/+4
2018-07-31Make globals with private linkage unnamed. Fixes #50862.Colin Pronovost-1/+9
2018-07-30rustc_codegen_llvm: fix tidy errors.Irina Popa-1/+6
2018-07-30rustc_codegen_llvm: use safe references for Value.Irina Popa-29/+29
2018-07-30rustc_codegen_llvm: use safe references for Type.Irina Popa-6/+6
2018-05-17Rename trans to codegen everywhere.Irina Popa-0/+223