Scroll to navigation

CASTXML(1) User Commands CASTXML(1)

NAME

castxml - Create an XML representation of C++ declarations

SYNOPSIS

castxml ( <castxml-opt> | <clang-opt> | <src> )...

DESCRIPTION

Options interpreted by castxml are listed below. Remaining options are given to the internal Clang compiler.

OPTIONS

--castxml-cc-<id> <cc>

--castxml-cc-<id> "(" <cc> <cc-opt>... ")"

Configure the internal Clang preprocessor and target platform to match that of the given compiler command. The <id> must be "gnu", "msvc", "gnu-c", or "msvc-c". <cc> names a compiler (e.g. "gcc") and <cc-opt>... specifies options that may affect its target (e.g. "-m32").

--castxml-output=<v>

Write castxml-format output to <src>.xml or file named by '-o' The <v> specifies the "epic" format version number to generate, and must be '1'.

--castxml-gccxml

Write gccxml-format output to <src>.xml or file named by '-o' Use this option if you need an output similar to the one generated by the legacy gccxml tool.

--castxml-start <name>[,<name>]...

Start AST traversal at declaration(s) with the given (qualified) name(s). Multiple names may be specified as a comma-separated list or by repeating the option.

-help, --help

Print castxml and internal Clang compiler usage information

-o <file>

Write output to <file>

--version

Print castxml and internal Clang compiler version information

Help for the internal Clang compiler appears below.

---------------------------------------------------------------

OVERVIEW: clang LLVM compiler

USAGE: clang [options] <inputs>

OPTIONS:

-###
Print (but do not run) the commands to run for this compilation
Static analyzer report output format (html|plist|plist-multi-file|plist-html|text).
Run the static analyzer
Emit ARC errors even if the migrator can fix them
Output path for the plist report
Add <dir> to search path for binaries and object files used implicitly
Include comments from within macros in preprocessed output
Emit tables required for Windows Control Flow Guard.
OpenCL only. Allow denormals to be flushed to zero.
OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__.
OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf.
OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded.
OpenCL only. Generate kernel argument metadata.
OpenCL only. Allow use of less precise MAD computations in the generated binary.
OpenCL only. Allow use of less precise no signed zeros computations in the generated binary.
OpenCL only. This option disables all optimizations. By default optimizations are enabled.
OpenCL only. Treat double precision floating-point constant as single precision constant.
OpenCL language standard to compile for.
OpenCL only. This option is added for compatibility with OpenCL 1.0.
OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel
OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable.
Specifies configuration file
Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations.
Compile CUDA code for device only
May be specified more than once.
Compile CUDA code for host only. Has no effect on non-CUDA compilations.
Include PTX for the follwing GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.
Enable device-side debug info generation. Disables ptxas optimizations.
Ignore environment variables to detect CUDA installation
CUDA installation path
Add directory to the C++ SYSTEM include search path
Include comments in preprocessed output
Only run preprocess, compile, and assemble steps
Print macro definitions in -E mode in addition to normal output

-dependency-dot <value> Filename to write DOT-formatted header dependencies to

Filename (or -) to write dependency output to
Print include directives in -E mode in addition to normal output
Print macro definitions in -E mode instead of normal output
Define <macro> to <value> (or 1 if <value> omitted)
Emit Clang AST files for source inputs
Use the LLVM representation for assembler and object files
Only run the preprocessor
Emit an address-significance table
Enable C++17 aligned allocation functions
Treat editor placeholders as valid source code
Use ANSI escape codes for diagnostics
Use Apple's kernel extensions ABI
Enable Apple gcc-compatible #pragma pack handling

-fapplication-extension Restrict code to those available for App Extensions

Enable the 'blocks' language feature
Accept non-standard constructs supported by the Borland compiler
Use the last modification time of <file> as the build session timestamp
Time when the current build session started
Load the clang builtins module map file.

-fcf-protection=<value> Instrument control-flow architecture protection. Options: return, branch, full, none.

Enable cf-protection in 'full' mode
Enable C++ builtin type char8_t
Attempt to match the ABI of Clang <version>
Use colors in diagnostics
Treat each comma separated argument in <arg> as a documentation comment block command
Require member pointer base types to be complete if they would be significant under the Microsoft ABI
Enable support for the C++ Coroutines TS
Generate coverage mapping to enable code coverage analysis
Use approximate transcendental functions
Flush denormal floating point values to zero in CUDA device mode.
Generate relocatable device code, also known as separate compilation mode.
Use 32-bit pointers for accessing const/local/shared address spaces.
Enable C++ exceptions
Place each data in its own section (ELF Only)
Emit extra debug info to make sample profile more accurate.
Emit macro debug information
remap file source paths in debug info
Place debug types in their own section (ELF Only)
Allow __declspec as a keyword
Parse templated function definitions at the end of the translation unit
Treat usage of null pointers as undefined behavior.
Print absolute paths in diagnostics
Prevent optimization remarks from being output if they do not have at least this profile count
Print fix-its in machine parseable form
Print source range spans in numeric form
Enable profile hotness information in diagnostic line
Display include stacks for diagnostic notes
Print option name with mappable diagnostics
Print a template comparison tree for differing templates
Enable alternative token representations '<:', ':>', '<%', '%>', '%:', '%:%:' (default)
Discard value names in LLVM IR
Allow '$' in identifiers
Enable '[[]]' attributes in all C and C++ language modes
Use DWARF style exceptions
Embed placeholder LLVM IR data as a marker
Embed LLVM bitcode (option: off, all, bitcode, marker)
Embed LLVM IR bitcode as data
Emit all declarations, even if unused
Use emutls functions to access thread_local variables
Enable support for exception handling
Enables the experimental global instruction selector
Enables an experimental new pass manager in LLVM.
Allow aggressive, lossy floating-point optimizations
Use separate accesses for consecutive bitfield runs with legal widths and alignments.
Enable fixed point types
Reserve register r19 (Hexagon only)
Reserve the r9 register (ARM only)
Reserve the x18 register (AArch64 only)
Reserve the x20 register (AArch64 only)
Emits more virtual tables to improve devirtualization
Enable support for int128_t type
Form fused FP ops (e.g. FMAs): fast (everywhere) | on (according to FP_CONTRACT pragma, default) | off (never fuse)
Assert that the compilation takes place in a freestanding environment
Place each function in its own section (ELF Only)
Allow GNU-extension keywords regardless of language standard
Generate output compatible with the standard GNU Objective-C runtime
Use the gnu89 inline semantics
Implicitly search the file system for module map files.
Inline suitable functions

-finline-hint-functions Inline functions which are (explicitly or implicitly) marked inline

Instrument function entry only, after inlining, without arguments to the instrumentation call
Like -finstrument-functions, but insert the calls after inlining
Generate calls to instrument function entry and exit
Enable the integrated assembler
Controls the backend parallelism of -flto=thin (default of 0 means the number of threads will be derived from the number of CPUs detected)
Set LTO mode to either 'full' or 'thin'
Enable LTO in 'full' mode
Require math functions to indicate errors by setting errno
Specify the maximum alignment to enforce on pointers lacking an explicit alignment
Allow merging of constants
Specify the mapping of module name to precompiled module file, or load a module file if name is omitted.
Load this module map file
Specify the name of the module to build
Specify the module cache path
Require declaration of modules used within a module
Disable validation of the diagnostic options when loading the module
Ignore the definition of the given macro when building and loading modules
Specify the interval (in seconds) after which a module file will be considered unused
Specify the interval (in seconds) between attempts to prune the module cache
Search even non-imported modules to resolve references
Like -fmodules-decluse but requires all headers to be in modules
Enable support for the C++ Modules TS
Specify the module user build path
Don't verify input files for the modules if the module has been successfully validated or loaded during this build session
Validate the system headers that a module depends on when loading the module
Enable the 'modules' language feature
Dot-separated value representing the Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))
Enable full Microsoft Visual C++ compatibility
Accept some non-standard constructs supported by the Microsoft compiler
Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))

-fnew-alignment=<align> Specifies the largest alignment guaranteed by '::operator new(size_t)'

Disable C++ access control
Don't emit an address-significance table
Don't assume that C++'s global operator new can't alias any pointer
Disable generation of linker directives for automatic library linking
Disable implicit builtin knowledge of a specific function
Disable implicit builtin knowledge of functions
Disable C++ builtin type char8_t
Compile common globals like normal definitions
Do not require member pointer base types to be complete if they would be significant under the Microsoft ABI

-fno-constant-cfstrings Disable creation of CodeFoundation-type constant strings

Disable code coverage analysis
Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
Do not emit extra debug info for sample profiler.
Do not emit macro debug information
Disallow __declspec as a keyword
Disable delayed template parsing
Do not treat usage of null pointers as undefined behavior.
Do not include fixit information in diagnostics
Disallow alternative token representations '<:', ':>', '<%', '%>', '%:', '%:%:'
Do not discard value names in LLVM IR
Disallow '$' in identifiers
Disable '[[]]' attributes in all C and C++ language modes

-fno-elide-constructors Disable C++ copy constructor elision

Do not elide types when printing diagnostics
Disables the experimental global instruction selector
Disables an experimental new pass manager in LLVM.
Use large-integer access for consecutive bitfield runs.
Disable fixed point types
Disable support for int128_t type
Disable GNU style inline asm
Disable the integrated assembler
Do not use jump tables for lowering switches
Disallow implicit conversions between vectors with a different number of elements or different element types
Disable LTO mode (default)
Disallow merging of constants
do not infer Objective-C related result type based on method family
Do not treat C++ operator name keywords as synonyms for operators
Do not use the PLT to make function calls
Do not preserve comments in inline assembly
Disable generation of profile instrumentation.
Disable generation of profile instrumentation.
Disable using instrumentation data for profile-guided optimization
Don't use atexit or __cxa_atexit to register global destructors
Turn off loop reroller
Do not add -rpath with architecture-specific resource directory to the linker flags
Control emission of RTTI data
Disable generation of rtti information
Disable poisoning array cookies when using class member operator new[] in AddressSanitizer
Disable use-after-scope detection in AddressSanitizer

-fno-sanitize-blacklist Don't use blacklist file for sanitizers

Disable control flow integrity (CFI) checks for cross-DSO calls.
Disable specified features of coverage instrumentation for Sanitizers
Disable origins tracking in MemorySanitizer
Disable use-after-destroy detection in MemorySanitizer
Disable recovery for specified sanitizers
Disable sanitizer statistics gathering.
Disable atomic operations instrumentation in ThreadSanitizer
Disable function entry/exit instrumentation in ThreadSanitizer
Disable memory access instrumentation in ThreadSanitizer
Disable trapping for specified sanitizers
Force wchar_t to be an unsigned int
Do not include column number on diagnostics
Do not include source location information with diagnostics
Char is unsigned
Allow optimizations that ignore the sign of floating point zeros
Disable spell-checking
Disable the use of stack protectors

-fno-stack-size-section Don't emit section containing metadata on function stack sizes

Limit debug information produced to reduce size of debug binary
Relax language rules and try to match the behavior of the target's native float-to-int conversion instructions

-fno-threadsafe-statics Do not emit code to make initialization of local statics thread safe

Do not process trigraph sequences
Turn off loop unroller
Don't use __cxa_atexit for calling destructors
Don't use .init_array instead of .ctors
Use EH-safe code when synthesizing retains and releases in -fobjc-arc
Synthesize retain and release calls for Objective-C pointers
Enable Objective-C exceptions
Specify the target Objective-C runtime kind and version
Enable ARC-style weak references in Objective-C
Emit OpenMP code only for SIMD-based constructs.
Specify comma-separated list of triples OpenMP offloading targets to be supported
Parse OpenMP pragmas and generate parallel code.
Specify the file name of any generated YAML optimization record
Specify the default maximum struct packing alignment
Recognize and construct Pascal-style string literals
Override the default ABI to return all structs on the stack
Use the PLT to make function calls
Load the named plugin (dynamic shared object)
Specify the prebuilt module path
Generate instrumented code to collect execution counts into <directory>/default.profraw (overridden by LLVM_PROFILE_FILE env var)
Generate instrumented code to collect execution counts into default.profraw (overridden by LLVM_PROFILE_FILE env var)
Generate instrumented code to collect execution counts into <file> (overridden by LLVM_PROFILE_FILE env var)
Generate instrumented code to collect execution counts into default.profraw file (overridden by '=' form of option or LLVM_PROFILE_FILE env var)
Use instrumentation data for profile-guided optimization
Specifies that the sample profile is accurate
Enable sample-based profile guided optimizations
Use instrumentation data for profile-guided optimization. If pathname is a directory, it reads from <pathname>/default.profdata. Otherwise, it reads from file <pathname>.
Allow division operations to be reassociated
Override the default ABI to return small structs in registers
Use atexit or __cxa_atexit to register global destructors
Enable C++17 relaxed template template argument matching
Turn on loop reroller
Add -rpath with architecture-specific resource directory to the linker flags
Level of field padding for AddressSanitizer
Enable linker dead stripping of globals in AddressSanitizer
Enable poisoning array cookies when using class member operator new[] in AddressSanitizer
Enable use-after-scope detection in AddressSanitizer
Path to blacklist file for sanitizers
Enable control flow integrity (CFI) checks for cross-DSO calls.
Generalize pointers in CFI indirect call type signature checks
Specify the type of coverage instrumentation for Sanitizers
Enable origins tracking in MemorySanitizer
Enable origins tracking in MemorySanitizer
Enable use-after-destroy detection in MemorySanitizer
Enable recovery for specified sanitizers
Enable sanitizer statistics gathering.
Enable atomic operations instrumentation in ThreadSanitizer (default)
Enable function entry/exit instrumentation in ThreadSanitizer (default)
Enable memory access instrumentation in ThreadSanitizer (default)

-fsanitize-trap=<value> Enable trapping for specified sanitizers

Strip (or keep only, if negative) a given number of path components when emitting check metadata.
Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks
Generate a YAML optimization record file
Use SEH style exceptions
Allocate to an enum type only as many bytes as it needs for the declared range of possible values
Force wchar_t to be a short unsigned int
Which overload candidates to show when overload resolution fails: best|all; defaults to all
Enable C++14 sized global deallocation functions
Use SjLj style exceptions
Enable the superword-level parallelism vectorization passes
Provide minimal debug info in the object/executable to facilitate online symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF
Force the usage of stack protectors for all functions
Use a strong heuristic to apply stack protectors to functions
Enable stack protectors for functions potentially vulnerable to stack smashing
Emit section containing metadata on function stack sizes
Emit full debug info for all types used by the program
Enable optimizations based on the strict definition of an enum's value range
Assume that overflowing float-to-int casts are undefined (default)
Always treat control flow paths that fall off the end of a non-void function as unreachable
Enable optimizations based on the strict rules for overwriting polymorphic C++ objects

-fthinlto-index=<value> Perform ThinLTO importing using provided function summary index

-ftrap-function=<value> Issue call to specified function rather than a trap instruction

Specify the function to be called on overflow
Trap on integer overflow
Process trigraph sequences
Use unique names for text and data sections (ELF Only)
Turn on loop unroller
Use .init_array instead of .ctors
Use the given vector functions library
Enable the loop vectorization passes
Give inline C++ member functions hidden visibility by default
Give global types 'default' visibility and global functions and variables 'hidden' visibility by default
Set the default symbol visibility for all global declarations

-fwhole-program-vtables Enables whole-program vtable optimization. Requires -flto

Treat signed integer overflow as two's complement
Store string literals as writable data
Determine whether to always emit __xray_customevent(...) calls even if the function it appears in is not always instrumented.
Determine whether to always emit __xray_typedevent(...) calls even if the function it appears in is not always instrumented.
DEPRECATED: Filename defining the whitelist for imbuing the 'always instrument' XRay attribute.
Filename defining the list of functions/types for imbuing XRay attributes.
Sets the minimum function size to instrument with XRay
Select which XRay instrumentation points to emit. Options: all, none, function, custom. Default is 'all'.
Generate XRay instrumentation sleds on function entry and exit
Tells clang to add the link dependencies for XRay.
List of modes to link in by default into XRay instrumented binaries.
DEPRECATED: Filename defining the whitelist for imbuing the 'never instrument' XRay attribute.
Enable System z vector language extension
Add directory to framework include search path

--gcc-toolchain=<value> Use the gcc toolchain at the given directory

Generate CodeView debug information
Generate source-level debug information with dwarf version 2
Generate source-level debug information with dwarf version 3
Generate source-level debug information with dwarf version 4
Generate source-level debug information with dwarf version 5
Embed source text in DWARF debug sections
Emit debug line number tables only
Generate debug info with external references to clang modules or precompiled headers
Restore the default behavior of not embedding source text in DWARF debug sections
DWARF debug sections compression type
DWARF debug sections compression type
Put objects of at most <size> bytes into small data section (MIPS / Hexagon)
Generate source-level debug information
Display help for hidden options
Display available options
HIP device library path
HIP device library
Link clang-offload-bundler bundles for HIP
Show header includes and nesting depth
Restrict all prior -I flags to double-quoted inclusion and remove current directory from include path
Add directory to AFTER include search path
Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot
Add directory to SYSTEM framework search path
Include macros from file before parsing
Include precompiled header file
Include file before parsing
Make the next included directory (-I or -F) an indexer header map
Set the -iwithprefix/-iwithprefixbefore prefix
Add directory to QUOTE include search path
Set the system root directory (usually /)
Add directory to end of the SYSTEM include search path
Add directory to SYSTEM include search path
Overlay the virtual filesystem described by file over the real file system
Set directory to include search path with prefix
Set directory to SYSTEM include search path with prefix
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
Add directory to include search path
Add directory to library search path
Enable SVR4-style position-independent code (Mips only)
Align doubles to two words in structs (x86 only)
Link stack frames through backchain on System Z
Allow use of CRC instructions (ARM/Mips only)
Write a depfile containing user and system headers
Set EABI type, e.g. 4, 5 or gnu (default depends on triple)
Place constants in the .rodata section instead of the .sdata section even if they meet the -G <size> threshold (MIPS)
Disallow generation of data access to code sections (ARM only)
Assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)
Insert calls to fentry at function entry (x86 only)

-mfix-cortex-a53-835769 Workaround Cortex-A53 erratum 835769 (AArch64 only)

Use 32-bit floating point registers (MIPS only)
Use 64-bit floating point registers (MIPS only)
Write depfile output from -MMD, -MD, -MM, or -M to <file>
Generate code which only uses the general purpose registers (AArch64 only)
Enable merging of globals
Use GP relative accesses for symbols known to be in a small data section (MIPS)
Add missing headers to depfile
Set Hexagon Vector Length
Enable Hexagon Vector eXtensions
Enable Hexagon Vector eXtensions
Use Intel MCU ABI
Run the migrator
(integrated-as) Emit an object file which can be used with an incremental linker

-mindirect-jump=<value> Change indirect jump instructions to inhibit speculation

Set iOS deployment target
Write a compilation database entry per input
Additional arguments to forward to LLVM's option processing
Extend the -G behaviour to object local data (MIPS)
Generate branches with extended addressability, usually via indirect jumps.
Set Mac OS X deployment target
Enable the generation of 4-operand madd.s, madd.d and related instructions.
Write a depfile containing user headers
Enable generation of memop instructions
Set the default structure layout to be compatible with the Microsoft compiler standard
Enable MSA ASE (MIPS only)
Enable MT ASE (MIPS only)
Like -MMD, but also implies -E and writes to stdout by default
Disable SVR4-style position-independent code (Mips only)
Disallow use of CRC instructions (Mips only)
Do not place constants in the .rodata section instead of the .sdata if they meet the -G <size> threshold (MIPS)
Allow generation of data access to code sections (ARM only)
Do not assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)
Don't workaround Cortex-A53 erratum 835769 (AArch64 only)
Disable merging of globals
Do not use GP relative accesses for symbols known to be in a small data section (MIPS)
Disable Hexagon Vector eXtensions
Don't generate implicit floating point instructions
(integrated-as) Emit an object file which cannot be used with an incremental linker
Do not extend the -G behaviour to object local data (MIPS)
Restore the default behaviour of not generating long calls
Disable the generation of 4-operand madd.s, madd.d and related instructions.
Disable generation of memop instructions
Disallow use of movt/movw pairs (ARM only)
Do not set the default structure layout to be compatible with the Microsoft compiler standard
Disable MSA ASE (MIPS only)
Disable MT ASE (MIPS only)
Disallow converting instructions with negative immediates to their negation or inversion.
Disable generation of new-value jumps
Disable generation of new-value stores
Disable function outlining (AArch64 only)
Disable generation of instruction packets
Disable linker relaxation
Allow generation of deprecated IT blocks for ARMv8. It is off by default for ARMv8 Thumb mode
Disable stack probes which are enabled by default
Force all memory accesses to be aligned (AArch32/AArch64 only)
Disable XNACK (AMDGPU only)
Disallow use of CRC instructions (ARM only)
Enable generation of new-value jumps
Enable generation of new-value stores
Directory to dump module dependencies to
Provide information about a particular module file
Omit frame pointer setup for leaf functions
Enable function outlining (AArch64 only)
Enable generation of instruction packets
Use copy relocations support for PIE builds
Specifies preferred vector width for auto-vectorization. Defaults to 'none' which allows target specific decisions.
Create phony target for each dependency (other than main file)
Enable hexagon-qdsp6 backward compatibility
Specify name of main file output to quote in depfile
(integrated-as) Relax all machine instructions
Enable linker relaxation
Disallow generation of deprecated IT blocks for ARMv8. It is on by default for ARMv8 Thumb mode.
Make StdCall calling convention the default
Use software floating point
Set the stack alignment
Enable stack probes
Set the stack probe size
Force realign the stack at entry to every function
The thread model to use, e.g. posix, single (posix by default)
Read thread pointer from coprocessor register (ARM only)
Specify name of main file output in depfile
Allow memory accesses to be unaligned (AArch32/AArch64 only)
Use NMake/Jom format for the depfile
Enable XNACK (AMDGPU only)
Like -MD, but also implies -E and writes to stdout by default
Remove GPU architecture (e.g. sm_35) from the list of GPUs to compile for. 'all' resets the list to its default value.
Do not include PTX for the follwing GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.

--no-cuda-version-check Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture.

Treat all #include paths starting with <prefix> as not including a system header.
Disable builtin #include directories
Disable standard #include directories for the C++ standard library
Treat source input files as Objective-C++ inputs

-objcmt-atomic-property Make migration to 'atomic' properties

Enable migration to modern ObjC
Enable migration to property and method annotations
Enable migration to infer NS_DESIGNATED_INITIALIZER for initializer methods
Enable migration to infer instancetype for method result type
Enable migration to modern ObjC literals
Enable migration to NS_ENUM/NS_OPTIONS macros
Enable migration of setter/getter messages to property-dot syntax
Enable migration to modern ObjC property
Enable migration to add protocol conformance on classes
Enable migration to modern ObjC readonly property
Enable migration to modern ObjC readwrite property
Enable migration to modern ObjC subscripting
Enable migration to use NS_NONATOMIC_IOSONLY macro for setting property's 'atomic' attribute
Enable migration to annotate property with NS_RETURNS_INNER_POINTER
Only modify files with a filename contained in the provided directory path
Treat source input files as Objective-C inputs
Write output to <file>
Enable mcount instrumentation
Use pipes between commands, when possible
Only precompile the input

-print-file-name=<file> Print the full library path of <file>

Enable Objective-C Ivar layout bitmap print trace

-print-libgcc-file-name Print the library path for the currently used compiler runtime library ("libgcc.a" or "libclang_rt.builtins.*.a")

-print-prog-name=<name> Print the full program path of <name>

Print the resource directory pathname
Print the paths used for finding libraries and programs
Support POSIX threads in generated code
Path to ptxas (used for compiling CUDA code)
Disable linemarker output in -E mode
Do not emit metadata containing compiler name and version
Don't emit warning for unused driver arguments
Emit metadata containing compiler name and version
Whether to build a relocatable precompiled header
Rewrite Legacy Objective-C source to C++
Rewrite Objective-C source to C++

-Rpass-analysis=<value> Report transformation analysis from optimization passes whose name matches the given POSIX regular expression

Report missed transformations by optimization passes whose name matches the given POSIX regular expression
Report transformations performed by optimization passes whose name matches the given POSIX regular expression
Compiler runtime library to use
Enable the specified remark
Save llvm statistics.
Save llvm statistics.
Save intermediate compilation results.
Save intermediate compilation results
Serialize compiler diagnostics to a file
Language standard to compile for
C++ standard library to use
Treat all #include paths starting with <prefix> as including a system header.
Only run preprocess and compilation steps
Generate code for the given target
Set starting address of BSS to <addr>
Set starting address of DATA to <addr>
Time individual commands
Enable some traditional CPP emulation
Process trigraph sequences
Set starting address of TEXT to <addr>
Specify <script> as linker script
undef all system defines
Undefine macro <macro>
Verify the binary representation of debug output
Load and verify that a pre-compiled header file is not stale
Print version information
Show commands to run and use verbose output
Pass the comma separated arguments in <arg> to the assembler
Enable warnings for deprecated constructs and define __DEPRECATED
Pass the comma separated arguments in <arg> to the linker
Resolve file paths relative to the specified directory
Pass the comma separated arguments in <arg> to the preprocessor
Enable the specified warning
Suppress all warnings
Pass <arg> to the static analyzer
Pass <arg> to the assembler
Pass <arg> to the clang compiler
Pass <arg> to fatbinary invocation
Pass <arg> to the ptxas assembler
Pass <arg> to the linker
Pass <arg> to the target offloading toolchain identified by <triple>.
Pass <arg> to the target offloading toolchain.
Pass <arg> to the preprocessor
Treat subsequent input files as having type <language>
Pass -z <arg> to the linker

CastXML project maintained and supported by Kitware (kitware.com).

clang version 7.0.1-8 (tags/RELEASE_701/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir:

April 2019 castxml version 0.2.0