Module rustc_driver::driverExperimental [-]  [+] [src]

Functions

anon_src

The name used for source code that doesn't originate in a file (e.g. source from stdin or a string)

assign_node_ids_and_map
build_output_filenames
collect_crate_metadata
collect_crate_types
compile_input
phase_1_parse_input
phase_2_configure_and_expand

Run the "early phases" of the compiler: initial cfg processing, loading compiler plugins (including those from addl_plugins), syntax expansion, secondary cfg expansion, synthesis of a test harness if one is to be provided and injection of a dependency on the standard library and prelude.

phase_3_run_analysis_passes

Run the resolution, typechecking, region checking and other miscellaneous analysis passes on the crate. Return various structures carrying the results of the analysis.

phase_4_translate_to_llvm

Run the translation phase to LLVM, after which the AST and analysis can be discarded.

phase_5_run_llvm_passes

Run LLVM itself, producing a bitcode file, assembly file or object file as a side effect.

phase_6_link_output

Run the linker on any artifacts that resulted from the LLVM run. This should produce either a finished executable or library.

phase_save_analysis
source_name
stop_after_phase_1
stop_after_phase_2
stop_after_phase_3
stop_after_phase_5