HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandllvmllvm-bcanalyzercliinformationanalyzermorebitcode

Problem

How to use the llvm-bcanalyzer command: LLVM Bitcode (.bc) analyzer. More information: <https://llvm.org/docs/CommandGuide/llvm-bcanalyzer.html>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/llvm-bcanalyzer

Revisions (0)

No revisions yet.