diff --git a/src/backend/debugging.md b/src/backend/debugging.md index 4f8712dfa..a569813db 100644 --- a/src/backend/debugging.md +++ b/src/backend/debugging.md @@ -77,7 +77,7 @@ llvm-ir`). `--build-type=debug` emits code for debug builds. There are also other useful options. Also, debug info in LLVM IR can clutter the output a lot: `RUSTFLAGS="-C debuginfo=0"` is really useful. -`RUSTFLAGS="-C save-temps"` outputs LLVM bitcode (not the same as IR) at +`RUSTFLAGS="-C save-temps"` outputs LLVM bitcode at different stages during compilation, which is sometimes useful. The output LLVM bitcode will be in `.bc` files in the compiler's output directory, set via the `--out-dir DIR` argument to `rustc`.