LLVM-DIS(1)

๐Ÿ’… NAME

llvm-dis โ€” the LLVM disassembler, aka the girl who translates your cryptic bitcode back into something your eyeballs can actually read. We're in the LLVM manual, bestie, buckle up ๐ŸŽ€


โœจ SYNOPSIS โœจ

llvm-dis [options] [filename]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Okay so picture this: the llvm-dis command is the LLVM disassembler. That's her whole job. She takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. Glow-up of the century, literally ๐Ÿ’…โœจ

If filename is left out entirely, or if you pass it as -, then llvm-dis reads its input from standard input. No file, no problem, she's flexible like that ๐Ÿซถ

Now here's the tea on where the output goes โ˜• โ€” if the input is coming from standard input, then llvm-dis sends its output to standard output by default. Iconic, symmetric, we love a matching set. Otherwise (i.e. you gave her an actual file), the output gets written to a file named after the input file, with a .ll suffix added โ€” and any existing .bc suffix gets removed first, because we don't do redundant extensions in this house ๐Ÿ™ˆ

And if you wanna be the main character and pick your own destination? You can override the choice of output file using the -o option. Go off, honestly ๐Ÿ‘‘


๐Ÿ”ฅ OPTIONS ๐Ÿ”ฅ

  • -f โ€” Enable binary output on terminals. Bestie listen, normally llvm-dis will refuse to write raw bitcode output if the output stream is a terminal โ€” she's got boundaries. But with this option, llvm-dis will write raw bitcode regardless of the output device. No vibe check, no hesitation, just raw bytes straight to your terminal ๐Ÿ’€
  • -help โ€” Print a summary of command line options. Your little cheat sheet, your bestie handing you the notes before class ๐Ÿ“โœจ
  • -o filename โ€” Specify the output file name. And if filename is -, then the output is sent to standard output. Back to stdout we go, full circle moment ๐ŸŒˆ

๐Ÿ’– EXIT STATUS ๐Ÿ’–

If llvm-dis succeeds, she exits with 0 โ€” a clean slay, no notes, we're thriving ๐ŸŽ€

Otherwise, if an error occurs, she'll exit with a non-zero value. Not every day can be a good day, and that's okay ๐Ÿ˜ญ


๐ŸŒธ SEE ALSO ๐ŸŒธ

  • llvm-as(1) <llvm-as.html> โ€” the reverse queen, go say hi ๐Ÿ‘‘

๐Ÿ‘‘ Author ๐Ÿ‘‘

Maintained by the LLVM Team (https://llvm.org/). Periodt. ๐Ÿ’œ


2003-2026, LLVM Project


okay that's the whole page, you ate that fr fr ๐Ÿ“

Signed, sealed, delivered ๐Ÿ’Œ โ€” this was LLVM version 23, dated 2026-10-20, raw and unfiltered, no cap. Byeeeee ๐Ÿงšโ€โ™€๏ธ

๐Ÿ“ฆ where this page comes from
  • arch rolling: llvm 23.1.4-1 ยท Apache-2.0 WITH LLVM-exception
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms