minor improvements

This commit is contained in:
mark 2018-07-15 18:51:41 -05:00 committed by Who? Me?!
parent efdb3e4c95
commit d89965857f
2 changed files with 6 additions and 1 deletions

View File

@ -54,7 +54,7 @@
- [Constant evaluation](./const-eval.md) - [Constant evaluation](./const-eval.md)
- [miri const evaluator](./miri.md) - [miri const evaluator](./miri.md)
- [Parameter Environments](./param_env.md) - [Parameter Environments](./param_env.md)
- [Generating LLVM IR](./codegen.md) - [Code Generation](./codegen.md)
- [Emitting Diagnostics](./diag.md) - [Emitting Diagnostics](./diag.md)
--- ---

View File

@ -3,6 +3,11 @@
Code generation or "codegen" is the part of the compiler that actually Code generation or "codegen" is the part of the compiler that actually
generates an executable binary. rustc uses LLVM for code generation. generates an executable binary. rustc uses LLVM for code generation.
> NOTE: If you are looking for hints on how to debug code generation bugs,
> please see [this section of the debugging chapter][debug].
[debug]: compiler-debugging.html#debugging-llvm
## What is LLVM? ## What is LLVM?
All of the preceeding chapters of this guide have one thing in common: we never All of the preceeding chapters of this guide have one thing in common: we never