summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/declare.rs
AgeCommit message (Collapse)AuthorLines
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