|
Loom C API
Public Loom compiler C API
|
Invocation option extension that enables sanitizer assertions. More...
#include <sanitizer.h>
Data Fields | |
| loomc_structure_type_t | type |
| Structure type. Must be LOOMC_STRUCTURE_TYPE_SANITIZER_OPTIONS. | |
| loomc_host_size_t | structure_size |
| Size of this structure in bytes. | |
| const void * | next |
| Next invocation option extension. | |
| loomc_sanitizer_checks_t | checks |
| Assertion classes enabled by the caller. | |
| loomc_sanitizer_flags_t | flags |
| Additional behavior flags enabled by the caller. | |
| loomc_sanitizer_reporting_mode_t | reporting_mode |
| Target failure reporting behavior for lowered sanitizer assertions. | |
Invocation option extension that enables sanitizer assertions.
Attach this descriptor to loomc_target_pipeline_options_t::next when the target pipeline should contain sanitizer pass slots. The target pipeline treats checks == 0 as disabled and emits no sanitizer pass IR. The reporting mode is carried to the target assertion lowering path.