LLVM-DIS(1)

πŸ“¦
version 12.0.1 Β· 4 versions
, in fedora 43, fedora 44

πŸ’… LLVM-DIS(1) β€” the LLVM manual page, bestie edition ✨

okay so this is llvm-dis, straight out of the LLVM manual (section 1, the user commands girlies 🫢), and honestly? she's iconic.


✨ NAME ✨

llvm-dis β€” the LLVM disassembler 🌈


πŸŽ€ SYNOPSIS πŸŽ€

llvm-dis [options] [filename]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, the llvm-dis command is the LLVM disassembler. periodt. she takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. literally a glow-up in file format form πŸ’–

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

and here's the tea on where the output goes β˜•: 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 β€” and any existing .bc suffix will first be removed. so yes, she's out here renaming files, it's giving main character energy πŸ‘‘

you can override the choice of output file using the -o option. your call, bestie ✨


πŸ’… 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. πŸ”₯
  • -help β€” Print a summary of command line options. the little "hey what do you do" moment, we love her for it πŸ₯°
  • -o filename β€” Specify the output file name. If filename is -, then the output is sent to standard output. 🎯

⭐ 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 like, 0 = slay, anything else = 😭


πŸ”₯ SEE ALSO πŸ”₯

llvm-as(1) β€” the other half of the duo, iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/). 🫢


2003-2024, LLVM Project


and that's the whole page, bestie!! this lil legend is dated 2024-07-18, it's the LLVM manual, page 12, and honestly? she ate. bye now πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from