tldr/pages/common/llvm-bcanalyzer.md

17 lines
423 B
Markdown
Raw Normal View History

2021-09-19 15:26:22 +01:00
# 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`