Sodamhan.com

TL;DR

llvm-bcanalyzer

LLVM Bitcode (.bc) analyzer. More information: https://llvm.org/docs/CommandGuide/llvm-bcanalyzer.html.

  • Print statistics about a Bitcode file:

llvm-bcanalyzer path/to/file.bc

  • Print an SGML representation and statistics about a Bitcode file:

llvm-bcanalyzer -dump path/to/file.bc

  • Read a Bitcode file from stdin and analyze it:

cat path/to/file.bc | llvm-bcanalyzer

This document was created using the contents of the tldr project.