OS Manuals

/usr/lib/llvm-21/bin/llvm-ml

Low-level virtual machine 21 - core frameworks

From llvm-21 21.1.8-r17 (os), captured 2026-11-05 by running llvm-ml -help (exit 0). permalink

OVERVIEW: LLVM MASM Assembler

USAGE: llvm-ml [ /options ] file

ML.EXE COMPATIBILITY OPTIONS:
  /?                 Display available options
  /c                 Assemble only; do not link
  /D <macro>=<value> Define <macro> to <value> (or blank if <value> omitted)
  /Fo <value>        Names the output file
  /I <value>         Sets path for include files
  /safeseh           Mark resulting object files as either containing no exception handlers or containing exception handlers that are all declared with .SAFESEH. Only available in 32-bit.
  /Ta <value>        Assemble source file with the given name. Used if the filename begins with a forward slash.
  /X                 Ignore the INCLUDE environment variable
  /Zs                Run a syntax-check only

OPTIONS:
  --as-lex             Lex tokens from a file without assembling
  --fatal-warnings     Treat warnings as errors
  --filetype=<value>   Emit a file with the given type
  --m<value>           Target platform (x86 or x86-64)
  --output-att-asm     Use ATT syntax for output assembly
  --preserve-comments  Preserve comments in output assembly
  --print-imm-hex      Prefer hex format for immediate values in output assembly
  --save-temp-labels   Don't discard temporary labels
  --show-encoding      Show instruction encodings in output assembly
  --show-inst-operands Show instructions operands as parsed
  --show-inst          Show internal instruction representation in output assembly
  --timestamp=<value>  Specify the assembly timestamp (used for @Date and @Time built-ins)
  --utc                Render @Date and @Time built-ins in GMT/UTC
Options (12)
OptionDescriptionSource
--as-lexLex tokens from a file without assemblinghelp
--fatal-warningsTreat warnings as errorshelp
--filetype valueEmit a file with the given typehelp
--m valueTarget platform (x86 or x86-64)help
--output-att-asmUse ATT syntax for output assemblyhelp
--preserve-commentsPreserve comments in output assemblyhelp
--print-imm-hexPrefer hex format for immediate values in output assemblyhelp
--save-temp-labelsDon't discard temporary labelshelp
--show-encodingShow instruction encodings in output assemblyhelp
--show-instShow internal instruction representation in output assemblyhelp
--timestamp valueSpecify the assembly timestamp (used for @Date and @Time built-ins)help
--utcRender @Date and @Time built-ins in GMT/UTChelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.