LLVM-DIS(1)

πŸ“¦ version 23.1.3, in centos-stream 9

πŸ’… LLVM-DIS(1) β€” the LLVM disassembler bestie πŸ’…

okay so grab a snack πŸ“ because you're reading the LLVM-DIS(1) manual page, part of the LLVM fam, and honestly? it's a whole vibe. let's get into it πŸ’–


✨ SYNOPSIS ✨

llvm-dis [options] [filename]

🌸 DESCRIPTION 🌸

so llvm-dis is literally the LLVM disassembler πŸ‘‘ β€” it takes an LLVM bitcode file and turns it into human-readable LLVM assembly language. that's it. that's the whole main character energy. it walks in, eats the bitcode, and hands you back something your eyeballs can actually read. ✨

if filename is omitted, or you pass it as -, then llvm-dis reads its input from standard input. yes, like a little pipe gremlin. 🧚

and here's the output tea β˜• β€” if the input is being read from standard input, llvm-dis sends its output to standard output by default. otherwise, 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, obviously, we're not messy). you can override the choice of output file using the -o option. slay. πŸ’…

πŸ’œ OPTIONS πŸ’œ

  • -f β€” enable binary output on terminals. normally llvm-dis will refuse to write raw bitcode output if the output stream is a terminal 😀 but with this option, llvm-dis will write raw bitcode regardless of the output device. no vibe check, no questions asked.
  • -help β€” print a summary of command line options. your little cheat sheet, bestie 🫢
  • -o filename β€” specify the output file name. if filename is -, then the output is sent to standard output. iconic behaviour honestly.

⭐ EXIT STATUS ⭐

if llvm-dis succeeds, it will exit with 0 πŸŽ€ if an error occurs, it will exit with a non-zero value 😭 (that's your cue to go debug, iykyk).

ngl, a 0 is the good ending. anything else means something's up, so don't ignore it πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • llvm-as(1) β€” the other half of the friend group, go say hi πŸ‘‹

🌈 AUTHOR 🌈

maintained by the LLVM Team (https://llvm.org/). they're the parents fr fr.

2003-2026, LLVM Project β€” periodt. πŸ’–


and that's the page, bestie!! πŸŽ€ this was the LLVM-DIS(1) manual page from the LLVM fam, manual page number 23, dated 2026-10-06 β€” mwah, go disassemble something gorgeous πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from