Output assembly to a specific file

llc

  • Compiles LLVM Intermediate Representation or bitcode to target-specific assembly language.
    More information: <https://www.llvm.org/docs/CommandGuide/llc.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

llc --output {{path/to/output.s}}

click the source code to copy install llc on any operating system with command-not-found.com