LLVM-DIS(1)
NAME π
llvm-dis β the LLVM disassembler. Like, it takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. Bestie, it's giving translator but for compiler nerds. This page is LLVM-DIS(1) from the LLVM manual, and yes we're doing this.
SYNOPSIS β¨
llvm-dis [options] [filename]
DESCRIPTION π¦
okay so llvm-dis is the LLVM disassembler. It takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. No cap.
If filename is omitted or specified as -, llvm-dis reads its input from standard input. Yes, the classic - moment.
If the input is being read from standard input, then llvm-dis will send its output to standard output by default. Otherwise, the output will be written to a file named after the input file, with a .ll suffix added (any existing .bc suffix will first be removed). You can override the choice of output file using the -o option. Main character choice, honestly.
OPTIONS π
-fβ Enable binary output on terminals. Normally,llvm-diswill refuse to write raw bitcode output if the output stream is a terminal. With this option,llvm-diswill write raw bitcode regardless of the output device. It's giving "I know what I'm doing" energy.-helpβ Print a summary of command line options. Tiny help menu, slay.-ofilename β Specify the output file name. If filename is-, then the output is sent to standard output. Periodt.
EXIT STATUS π
If llvm-dis succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value. So 0 = good vibes, non-zero = something went off.
SEE ALSO π
llvm-as(1) β the other half of the bitcode-to-assembly situationship. iykyk.
AUTHOR π«Ά
Maintained by the LLVM Team (https://llvm.org/). They're the ones keeping this whole thing iconic.
COPYRIGHT π
2003-2023, LLVM Project. Respect the copyright era, bestie.
Cute sign-off π: this page comes from LLVM (source), version 15, dated 2023-07-14, manual LLVM-DIS(1). Bye bestie, go disassemble something cute β¨
π¦ where this page comes from
- ubuntu jammy: llvm-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms