]> git.lizzy.rs Git - rust.git/commit
Allow specifying key "llvm-abiname" in target specification
authorGui Andrade <gh@archshift.com>
Wed, 30 Oct 2019 04:12:05 +0000 (21:12 -0700)
committerGui Andrade <gh@archshift.com>
Wed, 30 Oct 2019 04:12:05 +0000 (21:12 -0700)
commit539de439ad6f32e9a9a8a593299072a106786890
tree712932c2c0e692647a67a001b64cebd066648935
parentaa69777ea2902208b24b3fd77767d577ceaf6386
Allow specifying key "llvm-abiname" in target specification

This addresses #65024, as it allows RISC-V target specification
files to set "llvm-abiname": "lp64d". In general, it is useful
for the programmer to be able to set this codegen parameter,
which other languages usually expose under a compiler argument
like "-mabi=<XYZ>".
src/librustc_codegen_llvm/back/write.rs
src/librustc_codegen_llvm/llvm/ffi.rs
src/librustc_target/spec/mod.rs
src/rustllvm/PassWrapper.cpp