LLVM-AS(1)
β¨ LLVM-AS β¨
okay bestie, welcome to the llvm-as page β that's the LLVM assembler, living in section 1 of the LLVM manual π
πΈ NAME πΈ
llvm-as β the LLVM assembler, and yes she's that girl π
π¦ SYNOPSIS π¦
llvm-as [options] [filename]
π DESCRIPTION π
okay so llvm-as is the LLVM assembler. no cap. she reads a file that's full of human-readable LLVM assembly language, translates it into LLVM bitcode, and then writes the result either into a file or straight to standard output. it's giving translator, it's giving glow-up, she ate π
if filename is omitted, or if it's literally -, then llvm-as takes her input from standard input. she's flexible like that π«Ά
and if you don't specify an output file with the -o option? she follows these rules to figure out where her output goes, lowkey iconic behaviour:
- If the input is standard input, then the output is standard output. π«
- If the input is a file that ends with
.ll, then the output file is of the same name, except that the suffix is changed to.bc. β¨ - If the input is a file that does not end with the
.llsuffix, then the output file has the same name as the input file, except that the.bcsuffix is appended. π
π OPTIONS π
-fβ Enable binary output on terminals. normally,llvm-aswill refuse to write raw bitcode output if the output stream is a terminal (she has boundaries π). with this option,llvm-aswill write raw bitcode regardless of the output device. no vibe check, just send it.-helpβ Print a summary of command line options. she'll tell you everything she can do, main character energy fr fr π-ofilename β Specify the output file name. and if filename is-, thenllvm-assends its output to standard output. classic move πΈ
π EXIT STATUS π
if llvm-as succeeds, she exits with 0. slay. otherwise, if an error occurs, she exits with a non-zero value. sad girl hours π
π SEE ALSO π
go read those too, bestie, iykyk π§
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). shoutout to the whole team, they're carrying this whole operation π«Ά
β COPYRIGHT β
2003-2024, LLVM Project
okay that's the whole page!! mwah π one last thing for the sign-off β this lil page is section 15 of the LLVM manual, dated 2024-04-14, and it's filed under LLVM-AS(1). go assemble something gorgeous, bestie ππ
π¦ where this page comes from
- ubuntu noble: llvm-16 1:16.0.6-23ubuntu4 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms