tldr/pages/common/llvm-bcanalyzer.md

17 lines
423 B
Markdown

# 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`