Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_sanitizer_options_t Struct Reference

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.

Detailed Description

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.


The documentation for this struct was generated from the following file: