about summary refs log tree commit diff
path: root/src/test/codegen/naked-functions.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27Suppress debuginfo on naked function argumentsNathaniel McCallum-2/+2
A function that has no prologue cannot be reasonably expected to support debuginfo. In fact, the existing code (before this patch) would generate invalid instructions that caused crashes. We can solve this easily by just not emitting the debuginfo in this case. Fixes https://github.com/rust-lang/rust/issues/42779 cc https://github.com/rust-lang/rust/issues/32408
2020-02-09rustc_codegen_ssa: use `debug_introduce_local` on Operand call results.Eduard-Mihai Burtescu-5/+3
2020-01-07Update codegen tests with unnamed argumentsNikita Popov-2/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-11Support for disabling the PLT on ELF targetsGabriel Majeri-5/+5
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
2017-11-07Update codegen tests.Michael Woerister-10/+10
2017-04-12rustc_trans: avoid a separate entry BB if START_BLOCK has no backedges.Eduard-Mihai Burtescu-10/+37
2016-08-24Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit.Eduard Burtescu-3/+3
2016-06-20trans: generalize immediate temporaries to all MIR locals.Eduard Burtescu-1/+3
2016-03-22Add testsTicki-0/+69