Skip to content

Commit 05d4da3

Browse files
authored
Merge pull request #2613 from Enselic/bitcode
debugging.md: Remove wrong claim that LLVM bitcode is not the same as LLVM IR
2 parents 581971b + 578d06d commit 05d4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/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)