OS Manuals

/usr/bin/llvm-c-test

Low-level virtual machine 23 - core frameworks

From llvm-23 23.1.5-r0 (os), captured 2026-11-05 by running llvm-c-test --help (exit 1). permalink

llvm-c-test command

 Commands:
  * --module-dump
    Read bitcode from stdin - print disassembly

  * --lazy-module-dump
    Lazily read bitcode from stdin - print disassembly

  * --new-module-dump
    Read bitcode from stdin - print disassembly

  * --lazy-new-module-dump
    Lazily read bitcode from stdin - print disassembly

  * --module-list-functions
    Read bitcode from stdin - list summary of functions

  * --module-list-globals
    Read bitcode from stdin - list summary of globals

  * --targets-list
    List available targets

  * --object-list-sections
    Read object file from stdin - list sections

  * --object-list-symbols
    Read object file from stdin - list symbols (like nm)

  * --disassemble
    Read lines of triple, hex ascii machine code from stdin - print disassembly

  * --calc
    Read lines of name, rpn from stdin - print generated module

  * --get-di-tag
    Run test for getting MDNode dwarf tag
  * --di-type-get-name
    Run test for getting MDNode type name
  * --replace-md-operand
    Run test for replacing MDNode operands
  * --is-a-value-as-metadata
    Run test for checking if LLVMValueRef is a ValueAsMetadata
  * --echo
    Read bitcode file from stdin - print it back out

  * --test-diagnostic-handler
    Read bitcode file from stdin with a diagnostic handler set

  * --test-dibuilder
    Run tests for the DIBuilder C API - print generated module

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