mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 18:42:38 +00:00
22 lines
516 B
Plaintext
22 lines
516 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|