Files
rust/src/librustc_codegen_llvm
bors 03122e1bac Auto merge of #60006 - nnethercote:json-for-pipelining, r=alexcrichton
In JSON output, emit a directive after metadata is generated.

To implement pipelining, Cargo needs to know when metadata generation is
finished. This is done via a new JSON "directive".

Unfortunately, metadata file writing currently occurs very late during
compilation, so pipelining won't produce a speed-up. Moving metadata
file writing earlier will be a follow-up.

r? @alexcrichton
2019-04-29 23:35:01 +00:00
..
2019-04-20 13:21:40 +02:00
2019-04-26 21:09:32 +01:00
2019-04-18 15:28:18 -07:00
2019-04-26 21:09:32 +01:00
2019-03-29 17:17:13 +01:00
2018-12-25 21:08:33 -07:00
2019-02-18 03:58:58 +09:00
2019-03-30 22:37:02 +01:00
2019-02-18 03:58:58 +09:00
2019-04-23 08:43:13 +02:00
2018-11-26 15:03:13 -06:00
2019-04-22 16:57:01 +01:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc guide.