code wiki / (root) / _offc_strlit.nx

_offc_strlit.nx

buildroot/runtime/_offc_strlit.nx

428 B11 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic offc
docsdependenciesstructsconstsfunctions

about

Reduced repro for T#selfhost-003: uses a string literal so the compiler must emit `la <reg>, .Lg<id>` and a `.Lg<id>: .asciz`. If nxc.elf compiles this correctly, basic VK_GLOBAL machinery works and the self-host crash is scale-related (asm buffer overflow, many-globals interaction with another pass, etc.).

dependencies 1 imports · 0 importers

syscalls.nx _offc_strlit.nx

imports: syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

8func main() -> i64 {