Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

21
llvm-dis Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# llvm-dis
> Converts LLVM bitcode files into human-readable LLVM Intermediate Representation (IR).
> More information: <https://www.llvm.org/docs/CommandGuide/llvm-dis.html>.
- 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}}`