llvm-as
LLVM Intermediate Representation (.ll) to Bitcode (.bc) assembler. More information: <https://llvm.org/docs/CommandGuide/llvm-as.html>.
Install
- All systems
-
curl cmd.cat/llvm-as.sh
- Debian
-
apt-get install llvm-3.0 - Ubuntu
-
apt-get install llvm-8 -
Alpine
-
apk add llvm - Arch Linux
-
pacman -S llvm6 - Kali Linux
-
apt-get install llvm-7 - CentOS
-
yum install llvm - Fedora
-
dnf install llvm3.7 - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install llvm-8 - OS X
-
brew install llvm - Raspbian
-
apt-get install llvm-3.2 - Docker
-
docker run cmd.cat/llvm-as llvm-aspowered by Commando
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 `stdin` and assemble it:
cat path/to/source.ll | llvm-as -o path/to/out.bc
© tl;dr; authors and contributors