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.
This commit is contained in:
Martin Nordholts 2025-10-20 19:31:44 +02:00
parent e82121f812
commit 578d06d320

View file

@ -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`.