From 9040e5a17193d968dad62f135a45e247edf9f5d5 Mon Sep 17 00:00:00 2001 From: pixel <35269695+pixelcmtd@users.noreply.github.com> Date: Sun, 19 Sep 2021 16:26:22 +0200 Subject: [PATCH] llvm-bcanalyzer: add page (#6558) --- pages/common/llvm-bcanalyzer.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/llvm-bcanalyzer.md diff --git a/pages/common/llvm-bcanalyzer.md b/pages/common/llvm-bcanalyzer.md new file mode 100644 index 000000000..11427ca67 --- /dev/null +++ b/pages/common/llvm-bcanalyzer.md @@ -0,0 +1,16 @@ +# llvm-bcanalyzer + +> LLVM Bitcode (`.bc`) analyzer. +> More information: . + +- 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`