LLVM-DIS(1)
π LLVM-DIS(1) β like, the LLVM manual page, bestie
okay so this is the llvm-dis page from the LLVM manual set, and honestly? it's a little icon and you're about to find out why. sit down, grab a strawberry π, let's go.
β¨ NAME β¨
llvm-dis β the LLVM disassembler. that's it, that's the whole name. short, sweet, main character energy π
π¦ SYNOPSIS π¦
llvm-dis [options] [filename]
literally that simple. options, maybe a filename, we move. π
πΈ DESCRIPTION πΈ
so llvm-dis is the LLVM disassembler. what does that mean? it takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. like, bitcode β you-can-actually-read-it. it's giving translator, it's giving glow-up, it's giving "let me make this make sense for you" π«Ά
if filename is omitted, or if you specify it as -, then llvm-dis reads its input from standard input. yes, - means stdin, classic, we know her. π
now here's the part where the output goes, and it's lowkey the most interesting bit:
- if the input is being read from standard input, then
llvm-diswill send its output to standard output by default. no thinking required, she just does it. - otherwise, the output gets written to a file named after the input file, with a
.llsuffix added β and any existing.bcsuffix gets removed first. so yourthing.bcbecomesthing.ll. the.bc? gone. not invited. π
and if you're not feeling the default file name situation, you can override the whole choice of output file using the -o option. your file, your rules, periodt. β¨
π OPTIONS π
-fβ enable binary output on terminals π₯ normallyllvm-diswill refuse to write raw bitcode output if the output stream is a terminal (honestly? fair, that would be chaos on your screen π). with this option,llvm-diswill write raw bitcode regardless of the output device. no cap.-helpβ print a summary of command line options. the "help me help you" flag, we love a self-aware icon π-ofilename β specify the output file name. and if filename is-, then the output is sent to standard output. dash means stdout, dash means stdin, dash is the moment, dash ate π
β EXIT STATUS β
- if
llvm-dissucceeds, it will exit with0. slay. π - otherwise, if an error occurs, it will exit with a non-zero value. not slay. π
π SEE ALSO π
llvm-as(1)<llvm-as.html> β the other half of the duo, the assembler to this disassembler, the matching set bestie π¦
π Author π
maintained by the LLVM Team (https://llvm.org/). they're the ones keeping this whole thing alive, show some respect π«Ά
π Copyright π
2003-2026, LLVM Project β a whole era, honestly, iconic run π
bestie reminder: everything above is exactly what the page says, just with the vibes turned all the way up. use it well, and may all your.bcfiles become beautiful.llfiles β¨π§
LLVM 21 Β· dated 2026-05-15 Β· that's the tea, drink responsibly ππ
π¦ where this page comes from
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms