llvm-dis

Converts LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). More information: <https://www.llvm.org/docs/CommandGuide/llvm-dis.html>.

Install

All systems
curl cmd.cat/llvm-dis.sh
Debian Debian
apt-get install llvm-3.0
Ubuntu
apt-get install llvm-8
Alpine
apk add llvm
Arch Arch Linux
pacman -S llvm6
image/svg+xml Kali Linux
apt-get install llvm-7
CentOS
yum install llvm
Fedora
dnf install llvm3.7
Windows (WSL2)
sudo apt-get update sudo apt-get install llvm-8
OS X
brew install llvm
Raspbian
apt-get install llvm-3.2
Docker
docker run cmd.cat/llvm-dis llvm-dis powered by Commando

Converts LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). More information: <https://www.llvm.org/docs/CommandGuide/llvm-dis.html>.

  • Convert a bitcode file as LLVM IR and write the result to `stdout`:
    llvm-dis path/to/input.bc -o -
  • Convert a bitcode file to an LLVM IR file with the same filename:
    llvm-dis path/to/file.bc
  • Convert a bitcode file to LLVM IR, writing the result to the specified file:
    llvm-dis path/to/input.bc -o path/to/output.ll

© tl;dr; authors and contributors