fix(includes): 导出 llvmlite 缺失符号 + 移除临时 DBG

- llvmlite.__init__ 导出 get_struct_fields/get_struct_fcount/DeepCopyType(HandlesAssign tuple 解包与 ClassGenMixin 深拷贝调用 fast-fail 符号未定义)
- 移除 string.vp [ATOF-DBG]、ast/parser.vp [LKP-DBG] 临时插桩(保留查表逻辑)
This commit is contained in:
TermiNexus committed 2026-08-12 21:13:36 +08:00
1 parent 8ccf5d2c18
commit 0e93f40289
3 files changed
+1 -7

No files matched your search

-3
View File
@@ -312,16 +312,13 @@ def _dbg_lookup_lit_val(ptr: t.CUInt64T) -> double:
global _g_dbg_lit_found
_g_dbg_lit_found = 0
if _g_dbg_pts is None or _g_dbg_vals is None:
stdio.printf("[LKP-DBG] pts null cnt=%d\n", _g_dbg_cnt)
return 0.0
i: t.CSizeT = 0
while i < _g_dbg_cnt:
if _g_dbg_pts[i] == ptr:
_g_dbg_lit_found = 1
stdio.printf("[LKP-DBG] HIT ptr=%p val=%.17g cnt=%d\n", ptr, _g_dbg_vals[i], _g_dbg_cnt)
return _g_dbg_vals[i]
i += 1
stdio.printf("[LKP-DBG] MISS ptr=%p cnt=%d\n", ptr, _g_dbg_cnt)
return 0.0
+1
View File
@@ -12,6 +12,7 @@ from .__types import (
new_param_node, param_list_append,
paramnode_get_ty, paramnode_get_next, paramnode_set_ty, paramnode_set_next,
TypePrint, PrintStructDefinition, get_struct_name,
get_struct_fields, get_struct_fcount, DeepCopyType,
)
from .__values import (
Value, new_value, ConstInt, ConstNull, ConstZero, ConstFloat, SSAValue, ValuePrint,
-4
View File
@@ -365,10 +365,6 @@ def atof(src: str) -> t.CDouble:
while exp < 0:
result = result / 10.0
exp += 1
# ATOF-DBG: 打印长浮点字面量解析过程(定位浮点 CDefine 值错误)
if src is not None and strlen(src) >= 12:
stdio.printf("[ATOF-DBG] src=%s int=%.17g frac=%.17g div=%.17g result=%.17g\n",
src, int_part, frac_part, frac_div, result)
return result