Skip to content

Commit ca9e227

Browse files
committed
debugging.md: Remove wrong claim that LLVM bitcode is not the same as IR
They are the same thing since they can be converted back and forth without loss.
1 parent 1d958e9 commit ca9e227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ llvm-ir`). `--build-type=debug` emits code for debug builds. There are also
7777
other useful options. Also, debug info in LLVM IR can clutter the output a lot:
7878
`RUSTFLAGS="-C debuginfo=0"` is really useful.
7979

80-
`RUSTFLAGS="-C save-temps"` outputs LLVM bitcode (not the same as IR) at
80+
`RUSTFLAGS="-C save-temps"` outputs LLVM bitcode at
8181
different stages during compilation, which is sometimes useful. The output LLVM
8282
bitcode will be in `.bc` files in the compiler's output directory, set via the
8383
`--out-dir DIR` argument to `rustc`.

0 commit comments

Comments
 (0)