llvm-as
LLVM Intermediate Representation (`.ll`) to Bitcode (`.bc`) assembler.
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 `stdin` and assemble it:
cat {path/to/source.ll} | llvm-as -o {path/to/out.bc}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).