Files
ViperC/App
TermiNexus 907f7892f9 fix(callgen): 跨模块返回类型解析的 mod_ret_sha1 显式初始化 None,修复裸名调用读栈残留崩溃
- CallGenMixin.translate_call 中 mod_ret_sha1 原声明在 Attribute 分支内、
  elif mod_ret_sha1 is not None 在外层读取,裸名调用(cl.func 是 Name,
  如 LLVMModuleCore.CreateGlobalInt 内裸名 create_global_int)时该 alloca
  从未 store,读到栈残留垃圾(0x1)→ _LookupMethodRetTyFromTextLL 的
  strlen(0x1) 零页访问(llvmlite/__init__.vp 翻译时 0xC0000005)
- 前移声明并显式初始化为 None,裸名调用不再进入跨模块返回类型解析
2026-08-27 15:52:09 +08:00
..