diff options
| author | bors <bors@rust-lang.org> | 2018-11-17 04:10:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-11-17 04:10:52 +0000 |
| commit | f6e9485bfc245eb5f10b1f2b0a786538d12d1cb0 (patch) | |
| tree | 943397caca2ddcb98b861d9cf01374f6e73da836 /src/rustllvm/RustWrapper.cpp | |
| parent | ee821736ccdf1d370bf2c906ce3c133c0fc295d4 (diff) | |
| parent | 756f84d7cef90b7364ae88ca707e59670dde4c92 (diff) | |
| download | rust-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
