mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
llvm-dis: add page (#6049)
This commit is contained in:
parent
4272859c5b
commit
542b4bf1c3
1 changed files with 16 additions and 0 deletions
16
pages/common/llvm-dis.md
Normal file
16
pages/common/llvm-dis.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue