|
Loom C API
Public Loom compiler C API
|
Collects target compilation details during prepared execution. More...
#include <interop.h>
Data Fields | |
| loomc_structure_type_t | type |
| Must be LOOMC_STRUCTURE_TYPE_NATIVE_COMPILE_REPORT_OPTIONS. | |
| loomc_host_size_t | structure_size |
| Size of this structure in bytes. | |
| const void * | next |
| Next invocation option extension. | |
| loom_target_compile_report_t * | report |
| Initialized caller-owned collector. Must not be NULL. | |
Collects target compilation details during prepared execution.
Attach to loomc_pass_run_options_t::next or loomc_compile_options_t::next for loomc_compile_module. loomc_compile_request does not accept this extension because its internal module is released before returning. The caller initializes the collector with loom_target_compile_report_initialize, selects its requested detail flags, and releases its storage with loom_target_compile_report_deinitialize. Existing rows are preserved and passes append the requested observations. This collector does not request target specialization or artifact emission.