nx_x86_64_ctx_test.nx
buildroot/runtime/nx_x86_64_ctx_test.nx
about
nx_x86_64_ctx_test.nx -- session 6 smoke for IR-driven x86_64 codegen.
Hand-builds a tiny Function via the nx_ir APIs:
func main() -> i64 {
return 42
}
then drives x86ctx_emit_function on it, prints the asm to stdout.
The bash wrapper gcc-links + runs the resulting native binary,
expects exit code 42.
dependencies 6 imports · 0 importers
imports: syscalls.nxnx_outbuf.nxnx_types.nxnx_ir.nxnx_x86_64.nxnx_x86_64_ctx.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 20 | func main() -> i64 |