OVERVIEW: Swift Symbol Graph Extractor
USAGE: swift-frontend
OPTIONS:
-clang-target <value> Separately set the target we should use for internal Clang instance
-emit-extension-block-symbols
Emit 'swift.extension' symbols for extensions to external types instead of directly associating members and conformances with the extended nominal when generating symbol graphs
-external-plugin-path <path>#<plugin-server-path>
Add directory to the plugin search path with a plugin server executable
-Fsystem <value> Add directory to system framework search path
-F <value> Add directory to framework search path
-help Display available options
-include-spi-symbols Add symbols with SPI information to the symbol graph
-I <value> Add directory to the import search path
-libc <value> libc runtime library to use
-L <value> Add directory to library link search path
-minimum-access-level <level>
Include symbols with this access level or more
-module-cache-path <value>
Specifies the module cache path
-module-name <value> Name of the module to build
-omit-extension-block-symbols
Directly associate members and conformances with the extended nominal when generating symbol graphs instead of emitting 'swift.extension' symbols for extensions to external types
-output-dir <dir> Output directory
-plugin-path <value> Add directory to the plugin search path
-pretty-print Pretty-print the output JSON
-resource-dir </usr/lib/swift>
The directory that holds the compiler resource files
-sdk <sdk> Compile against <sdk>
-skip-inherited-docs Skip emitting doc comments for members inherited through classes or default implementations
-skip-protocol-implementations
Skip emitting symbols that are implementations of protocol requirements or inherited from protocl extensions
-skip-synthesized-members
Skip members inherited through classes or default implementations
-swift-version <vers> Interpret input according to a specific Swift language version number
-target <triple> Generate code for the given target <triple>, such as x86_64-apple-macos10.9
-visualc-tools-root <root>
VisualC++ Tools Root
-visualc-tools-version <version>
VisualC++ ToolSet Version
-v Show commands to run and use verbose output
-windows-sdk-root <root>
Windows SDK Root
-windows-sdk-version <version>
Windows SDK Version
-Xcc <arg> Pass <arg> to the C/C++/Objective-C compiler
Options (28)
| Option | Description | Source |
|---|---|---|
-emit-extension-block-symbols | Emit 'swift.extension' symbols for extensions to external types instead of directly associating members and conformances with the extended nominal when generating symbol graphs | help |
-external-plugin-path path>#<plugin-server-path | Add directory to the plugin search path with a plugin server executable | help |
-Fsystem value | Add directory to system framework search path | help |
-F value | Add directory to framework search path | help |
-help | Display available options | help |
-include-spi-symbols | Add symbols with SPI information to the symbol graph | help |
-I value | Add directory to the import search path | help |
-libc value | libc runtime library to use | help |
-L value | Add directory to library link search path | help |
-minimum-access-level level | Include symbols with this access level or more | help |
-module-cache-path value | Specifies the module cache path | help |
-module-name value | Name of the module to build | help |
-omit-extension-block-symbols | Directly associate members and conformances with the extended nominal when generating symbol graphs instead of emitting 'swift.extension' symbols for extensions to external types | help |
-output-dir dir | Output directory | help |
-plugin-path value | Add directory to the plugin search path | help |
-pretty-print | Pretty-print the output JSON | help |
-resource-dir /usr/lib/swift | The directory that holds the compiler resource files | help |
-sdk sdk | Compile against <sdk> | help |
-skip-inherited-docs | Skip emitting doc comments for members inherited through classes or default implementations | help |
-skip-protocol-implementations | Skip emitting symbols that are implementations of protocol requirements or inherited from protocl extensions | help |
-skip-synthesized-members | Skip members inherited through classes or default implementations | help |
-target triple | Generate code for the given target <triple>, such as x86_64-apple-macos10.9 | help |
-visualc-tools-root root | VisualC++ Tools Root | help |
-visualc-tools-version version | VisualC++ ToolSet Version | help |
-v | Show commands to run and use verbose output | help |
-windows-sdk-root root | Windows SDK Root | help |
-windows-sdk-version version | Windows SDK Version | help |
-Xcc arg | Pass <arg> to the C/C++/Objective-C compiler | help |