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, normallyllvm-diswill refuse to write raw bitcode output if the output stream is a terminal โ she's got boundaries. But with this option,llvm-diswill 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 ๐โจ-ofilename โ 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. ๐
โญ Copyright โญ
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