|
Loom C API
Public Loom compiler C API
|
Collects native pass invocation records during prepared execution. More...
#include <interop.h>
Data Fields | |
| loomc_structure_type_t | type |
| Must be LOOMC_STRUCTURE_TYPE_NATIVE_PASS_REPORT_OPTIONS. | |
| loomc_host_size_t | structure_size |
| Size of this structure in bytes. | |
| const void * | next |
| Next invocation option extension. | |
| loom_pass_report_t * | report |
| Initialized caller-owned collector. Must not be NULL. | |
Collects native pass invocation records during prepared execution.
Attach to loomc_pass_run_options_t::next or loomc_compile_options_t::next. The caller initializes the collector with loom_pass_report_initialize and releases its storage with loom_pass_report_deinitialize. Execution appends completed records, including partial progress when the operation fails or returns a non-OK status with no result. Failure to allocate the last record leaves earlier records available.