termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Assemble an IR file and include a module hash in the produced Bitcode file
llvm-as
LLVM Intermediate Representation (`.ll`) to Bitcode (`.bc`) assembler.
More information: <https://llvm.org/docs/CommandGuide/llvm-as.html>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
llvm-as --module-hash -o {{path/to/out.bc}} {{path/to/source.ll}}
click the source code to copy
install
llvm-as
on any operating system with
command-not-found.com