1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:02:07 +02:00
tldr/pages/common/llvm-dis.md
2021-06-07 21:05:50 +01:00

16 lines
523 B
Markdown

# 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}}`