LLVM-DIS(1)

πŸ“¦
version 16.0.6 Β· 3 versions
, in ubuntu noble

✨ LLVM-DIS(1) ✨

okay so this is the manual page for llvm-dis, part of the LLVM fam πŸ’– (it's section 1 of the manual, if you were wondering bestie πŸ’…)


🌸 NAME 🌸

llvm-dis β€” the LLVM disassembler, aka the girl who translates robot-speak back into something you can actually read πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

llvm-dis [options] [filename]

πŸ’œ DESCRIPTION πŸ’œ

okay so listen. The llvm-dis command is the LLVM disassembler. She takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. It's giving translator, it's giving glow-up, it's giving "let me make this make sense" ✨

If filename is omitted, or if you specify it as -, then llvm-dis reads its input from standard input. Lowkey iconic, she's flexible like that 🫢

And if the input is being read from standard input, then llvm-dis will send 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 will first be removed, no cap πŸ”₯. You can override the choice of output file using the -o option, bestie, you're in control πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -f β€” Enable binary output on terminals. Normally, llvm-dis will refuse to write raw bitcode output if the output stream is a terminal. With this option, llvm-dis will write raw bitcode regardless of the output device. (she's stubborn and we respect it πŸ™ˆ)
  • -help β€” Print a summary of command line options. The classic "help me help you" moment πŸ’–
  • -o filename β€” Specify the output file name. If filename is -, then the output is sent to standard output. πŸŽ€

⭐ EXIT STATUS ⭐

If llvm-dis succeeds, she will exit with 0 πŸ’š. Otherwise, if an error occurs, she will exit with a non-zero value 😭. That's it, that's the vibe check.


🌈 SEE ALSO 🌈

  • llvm-as(1) β€” her counterpart, the one who does the opposite. iykyk πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/). Slay, queens πŸ’…βœ¨


2003-2024, LLVM Project β€” periodt, protect the IP πŸ’–


and that's the whole page bestie!! 🌸 this was page 15 of the LLVM-DIS(1) manual, dated 2024-04-14, source/version LLVM β€” mwah, go read some bitcode, ily, bye πŸ«ΆπŸ’–πŸ§š

πŸ“¦ where this page comes from