diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-28 18:39:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-28 18:39:40 +0200 |
| commit | 6a8cdbd285eca75024809ac12b8badb7f38128b7 (patch) | |
| tree | ada61884c9beb8066641008c25db858d22307079 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 734c57d45c3b3d6ff19bc7d04ce00f7c9441c368 (diff) | |
| parent | 71bc62b9f696ae83ef1713bd96054c92cda9f27f (diff) | |
| download | rust-6a8cdbd285eca75024809ac12b8badb7f38128b7.tar.gz rust-6a8cdbd285eca75024809ac12b8badb7f38128b7.zip | |
Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk
Add option to pass a custom codegen backend from a driver This allows the driver to pass information to the codegen backend. For example the headcrab debugger may in the future want to use cg_clif to JIT code to be injected in the debuggee. This would PR make it possible to tell cg_clif which symbol can be found at which address and to tell it to inject the JITed code into the right process. This PR may also help with https://github.com/rust-lang/miri/pull/1540 by allowing miri to provide a codegen backend that only emits metadata and doesn't perform any codegen. cc @nbaksalyar (headcrab) cc @RalfJung (miri)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
