about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-17 04:10:52 +0000
committerbors <bors@rust-lang.org>2018-11-17 04:10:52 +0000
commitf6e9485bfc245eb5f10b1f2b0a786538d12d1cb0 (patch)
tree943397caca2ddcb98b861d9cf01374f6e73da836 /src/rustllvm/RustWrapper.cpp
parentee821736ccdf1d370bf2c906ce3c133c0fc295d4 (diff)
parent756f84d7cef90b7364ae88ca707e59670dde4c92 (diff)
downloadrust-f6e9485bfc245eb5f10b1f2b0a786538d12d1cb0.tar.gz
rust-f6e9485bfc245eb5f10b1f2b0a786538d12d1cb0.zip
Auto merge of #55627 - sunfishcode:cg-llvm-gen, r=nikomatsakis
rustc_codegen_llvm: traitification of LLVM-specific CodegenCx and Builder methods

This PR is the continuation of #54012 and earlier PRs, in the grand plan of #45274 to allow for multiple codegen backends.

High-level summary: interpose a set of traits between Rust's codegen logic and the LLVM APIs, allowing another backend to implement the traits and share most of the codegen logic. These traits are currently somewhat LLVM-specific, but once this refactoring is in place, they can evolve to be more general.

See [this README](https://github.com/rust-lang/rust/blob/756f84d7cef90b7364ae88ca707e59670dde4c92/src/librustc_codegen_ssa/README.md) for a writeup on the current trait organization.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions