From 542b4bf1c3979862bac4950cc4934523c6004d57 Mon Sep 17 00:00:00 2001 From: Jake Vossen Date: Mon, 7 Jun 2021 14:05:50 -0600 Subject: [PATCH] llvm-dis: add page (#6049) --- pages/common/llvm-dis.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/llvm-dis.md diff --git a/pages/common/llvm-dis.md b/pages/common/llvm-dis.md new file mode 100644 index 000000000..c4a8e0cbc --- /dev/null +++ b/pages/common/llvm-dis.md @@ -0,0 +1,16 @@ +# llvm-dis + +> Converts LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). +> More information: . + +- Convert a bitcode file as LLVM IR and write the result to stdout: + +`llvm-dis {{path/to/input.bc}} -o -` + +- Convert a bitcode file to an LLVM IR file with the same filename: + +`llvm-dis {{path/to/file.bc}}` + +- Convert a bitcode file to LLVM IR, writing the result to the specified file: + +`llvm-dis {{path/to/input.bc}} -o {{path/to/output.ll}}`