Skip to main content

Module program

Module program 

Source
Expand description

Multi-module program linking.

AirProgram represents a whole program composed of multiple linked AirModules. The LinkTable resolves cross-module references (extern declarations matched to definitions).

Structs§

AirProgram
A whole program composed of multiple linked modules.
LinkConflict
A conflicting symbol found during linking.
LinkTable
Cross-module symbol resolution.
ProgramDiff
Tracks what changed between two analysis runs of the same program.

Enums§

SplitStrategy
How to split a single pre-linked input into logical modules.

Functions§

split_by_function 🔒
split_by_source_file 🔒
split_module
Split a monolithic module into per-source-file modules.