LinuxCommandLibrary

llvm-dis

disassembler

TLDR

Disassemble bitcode to LLVM IR
$ llvm-dis [file.bc]
copy
Output to specific file
$ llvm-dis [file.bc] -o [output.ll]
copy
Disassemble to stdout
$ llvm-dis [file.bc] -o -
copy

SYNOPSIS

llvm-dis [options] [file]

DESCRIPTION

llvm-dis is the LLVM disassembler. Converts LLVM bitcode (.bc) files to human-readable LLVM assembly language (.ll) format. Useful for inspecting compiled code and debugging LLVM optimization passes.

PARAMETERS

-o file

Output file name.
--show-annotations
Show annotations in output.

SEE ALSO

llvm-as(1), llc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard