LLVM-AS(1)
πΈ NAME πΈ
llvm-as β LLVM assembler. and the manual page title is literally LLVM-AS(1) from the LLVM fam, so u know exactly what's up, bestie. π
β¨ SYNOPSIS β¨
llvm-as [options] [filename]
π DESCRIPTION π
okay so llvm-as is the LLVM assembler. It reads a file containing human-readable LLVM assembly language, translates it to LLVM bitcode, and writes the result into a file or to standard output. no cap, that's the whole glow-up: assembly in, bitcode out. β¨
If filename is omitted or is -, then llvm-as reads its input from standard input. yes, stdin girlies, she's got u. π«Ά
If an output file is not specified with the -o option, then llvm-as sends its output to a file or standard output by following these rules, periodt:
- 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. With this option,llvm-aswill write raw bitcode regardless of the output device. literally override the terminal vibe check, respectfully. π₯-helpβ Print a summary of command line options. the "what are my options" button, iconic. π-o filenameβ Specify the output file name. If filename is-, thenllvm-assends its output to standard output. choose ur own destiny, bestie. π«
π₯ EXIT STATUS π₯
If llvm-as succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value. so 0 is the slay; anything else is the "oop, something went sideways" signal. π
π SEE ALSO π
the whole friend group, go say hi. π«Ά
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). protect them at all costs. π
π COPYRIGHT π
2003-2023, LLVM Project β the full copyright era, no cuts. π
π okay that's the whole LLVM-AS(1) page, bestie β source/version vibes: LLVM-AS(1) from the LLVM manual, dated 2023-12-01, page 17 if ur keeping score. mwah, go assemble something iconic. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms