Assemble LLVM Bitcode - Generate .bc Files | Online Free DevTools by Hexmos
Assemble LLVM Intermediate Representation with llvm-as. Convert .ll files to .bc bitcode. Easy compilation for developers. Free online tool, no registration required.
llvm-as
LLVM Intermediate Representation (
.ll) to Bitcode (.bc) assembler. More information: https://llvm.org/docs/CommandGuide/llvm-as.html.
- Assemble an IR file:
llvm-as -o {{path/to/out.bc}} {{path/to/source.ll}}
- Assemble an IR file and include a module hash in the produced Bitcode file:
llvm-as --module-hash -o {{path/to/out.bc}} {{path/to/source.ll}}
- Read an IR file from
stdinand assemble it:
cat {{path/to/source.ll}} | llvm-as -o {{path/to/out.bc}}