LinuxCommandLibrary

llvm-bcanalyzer

analyzes LLVM bitcode files

TLDR

Analyze bitcode file
$ llvm-bcanalyzer [file.bc]
copy
Show detailed dump
$ llvm-bcanalyzer --dump [file.bc]
copy
Show only statistics
$ llvm-bcanalyzer --dump-blockinfo [file.bc]
copy

SYNOPSIS

llvm-bcanalyzer [options] file

DESCRIPTION

llvm-bcanalyzer analyzes LLVM bitcode files. Shows statistics about bitcode structure, including block types, record counts, and bit distribution. Useful for debugging bitcode generation and understanding LLVM IR serialization.

PARAMETERS

--dump

Dump low-level bitcode contents.
--dump-blockinfo
Show block info statistics.
--show-binary-blobs
Show binary blob data.

SEE ALSO

llvm-dis(1), llvm-as(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard