Cthulhu  0.2.10
Cthulhu compiler collection
target.c File Reference
#include "debug/target.h"
#include "driver/driver.h"
Include dependency graph for target.c:

Go to the source code of this file.

Variables

CT_DRIVER_API const target_t kTargetDebug
 

Variable Documentation

◆ kTargetDebug

CT_DRIVER_API const target_t kTargetDebug
Initial value:
= {
.info = {
.id = "target/debug",
.name = "Debug",
.version = {
.license = "LGPLv3",
.author = "Elliot Haisley",
.desc = "Debug code generation target",
.version = CT_NEW_VERSION(0, 0, 2),
},
},
.fn_tree = debug_tree,
.fn_ssa = debug_ssa,
}
CT_LOCAL void debug_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *target)
Definition: tree.c:129
CT_BEGIN_API CT_LOCAL emit_result_t debug_ssa(target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *target)
Definition: ssa.c:405
#define CT_NEW_VERSION(major, minor, patch)
creates a new ctu_version_t from major, minor and patch
Definition: version_def.h:20

Definition at line 7 of file target.c.