Files
rust/src/librustc_codegen_llvm
bors 8159f389f6 Auto merge of #59710 - alexcrichton:llvm-9-compat, r=sanxiyn
rustc: Start implementing compat with LLVM 9

This commit doesn't actually migrate to LLVM 9, but it brings our own
C++ bindings in line with LLVM 9 and able to compile against tip of
tree. The changes made were:

* The `MainSubprogram` flag for debuginfo moved between flag types.
* Iteration of archive members was tweaked slightly and we have to
  construct the two iterators before constructing the returned
  `RustArchiveIterator` value.
* The `getOrInsertFunction` binding now returns a wrapper which we use
  `getCallee()` on to get the value we're interested in.
2019-04-06 13:14:23 +00:00
..
2019-03-29 17:17:13 +01:00
2019-03-29 17:17:13 +01:00
2019-03-30 21:37:02 +09: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
2018-12-25 21:08:33 -07:00
2019-02-18 03:58:58 +09:00
2019-02-18 03:58:58 +09:00
2018-11-26 15:03:13 -06:00
2019-03-19 17:07:09 +00: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.