2021-06-07 21:05:50 +01:00
|
|
|
# llvm-dis
|
|
|
|
|
2024-04-25 23:58:21 +01:00
|
|
|
> Convert LLVM bitcode files into human-readable LLVM Intermediate Representation (IR).
|
2021-06-07 21:05:50 +01:00
|
|
|
> More information: <https://www.llvm.org/docs/CommandGuide/llvm-dis.html>.
|
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Convert a bitcode file as LLVM IR and write the result to `stdout`:
|
2021-06-07 21:05:50 +01:00
|
|
|
|
|
|
|
`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}}`
|