TermiNexus
2922af79f1
fix(LLVMCG): 禁止对 null 指针常量做 load 转 int 字段
_coerce_value 中 target 为 IntType 且 val 为 PointerType 时,若
val 是 null 常量且 pointee.width == target.width,此前直接
builder.load(null) 生成 load i32, i32* null,运行时 ASAN
access-violation。根因场景:Generator.__init__ 里
self.ClassMetaKinds = None(字段注解 t.CInt | t.CPtr,联合类型
退化为 i32 槽位,None 解析为 i32* null)。修复:null 常量赋 int
字段直接返回 0;_store 的 null 分支同步补 IntType 处理。
2026-08-18 12:50:31 +08:00
..
2026-07-18 19:25:40 +08:00
2026-08-17 19:11:48 +08:00
2026-08-05 20:11:38 +08:00
2026-08-17 09:36:38 +08:00
2026-08-18 12:50:31 +08:00
2026-08-17 20:55:47 +08:00
2026-08-17 09:36:38 +08:00
2026-07-18 19:25:40 +08:00