Module write

Source

Structsยง

CguMessage
A message sent from the coordinator thread to the main thread telling it to process another codegen unit.
CodegenContext
Additional resources used by optimize_and_codegen (not module specific)
CompiledModules ๐Ÿ”’
Coordinator
Diagnostic ๐Ÿ”’
ModuleConfig
Module-specific configuration for optimize_and_codegen.
OngoingCodegen
SharedEmitter
SharedEmitterMain
Subdiagnostic ๐Ÿ”’
TargetMachineFactoryConfig
Configuration passed to the function returned by the target_machine_factory.
WorkerFatalError ๐Ÿ”’
FatalError is explicitly not Send.

Enumsยง

BitcodeSection
What kind of llvm bitcode section to embed in an object file.
ComputedLtoType ๐Ÿ”’
Actual LTO type we end up choosing based on multiple factors.
EmitObj
What kind of object file to emit.
FatLtoInput
MainThreadState ๐Ÿ”’
Message ๐Ÿ”’
Messages sent to the coordinator.
SharedEmitterMessage ๐Ÿ”’
WorkItem ๐Ÿ”’
WorkItemResult ๐Ÿ”’
A result produced by the backend.

Constantsยง

PRE_LTO_BC_EXT ๐Ÿ”’

Functionsยง

compute_per_cgu_lto_type ๐Ÿ”’
copy_all_cgu_workproducts_to_incr_comp_cache_dir ๐Ÿ”’
execute_copy_from_cache_work_item ๐Ÿ”’
execute_lto_work_item ๐Ÿ”’
execute_optimize_work_item ๐Ÿ”’
finish_intra_module_work ๐Ÿ”’
generate_lto_work ๐Ÿ”’
msvc_imps_needed ๐Ÿ”’
need_bitcode_in_object ๐Ÿ”’
need_pre_lto_bitcode_for_incr_comp ๐Ÿ”’
pre_lto_bitcode_filename ๐Ÿ”’
produce_final_output_artifacts ๐Ÿ”’
spawn_work ๐Ÿ”’
start_async_codegen ๐Ÿ”’
start_executing_work ๐Ÿ”’
submit_codegened_module_to_llvm ๐Ÿ”’
submit_post_lto_module_to_llvm ๐Ÿ”’
submit_pre_lto_module_to_llvm ๐Ÿ”’

Type Aliasesยง

ExportedSymbols ๐Ÿ”’
TargetMachineFactoryFn