int scf_ast_add_base_type(scf_ast_t* ast, scf_base_type_t* base_type)
{
if (!ast || !base_type) {
- printf("%s(),%d, error\n", __func__, __LINE__);
- return -1;
+ scf_loge("\n");
+ return -EINVAL;
}
scf_type_t* t = scf_type_alloc(NULL, base_type->name, base_type->type, base_type->size);
if (!t) {
- printf("%s(),%d, error\n", __func__, __LINE__);
+ scf_loge("\n");
return -1;
}
int scf_ast_add_file_block(scf_ast_t* ast, const char* path)
{
if (!ast || !path) {
- printf("%s(),%d, error\n", __func__, __LINE__);
- return -1;
+ scf_loge("\n");
+ return -EINVAL;
}
scf_block_t* file_block = scf_block_alloc_cstr(path);
if (!file_block) {
- printf("%s(),%d, error\n", __func__, __LINE__);
+ scf_loge("\n");
return -1;
}
scf_node_add_child((scf_node_t*)ast->root_block, (scf_node_t*)file_block);
ast->current_block = file_block;
- printf("%s(),%d, file_block: %p\n", __func__, __LINE__, file_block);
return 0;
}
}
}
- scf_logw("f signature: %s\n", s->data);
+ scf_logd("f signature: %s\n", s->data);
f->signature = s;
return 0;
d->visited_flag = 0;
if (d->code)
- scf_loge("d->code: %u, d->tag: %s\n", d->code, scf_dwarf_find_tag(d->tag));
+ scf_logd("d->code: %u, d->tag: %s\n", d->code, scf_dwarf_find_tag(d->tag));
}
for (i = 0; i < abbrev_results->size; i++) {
lm->prologue->prologue_length = debug_line->len - prologue_pos - sizeof(lm->prologue->prologue_length);
memcpy(debug_line->data + prologue_pos, &lm->prologue->prologue_length, sizeof(lm->prologue->prologue_length));
- scf_loge("lm->prologue->prologue_length: %u\n\n", lm->prologue->prologue_length);
+ scf_logd("lm->prologue->prologue_length: %u\n\n", lm->prologue->prologue_length);
lm->address = 0;
lm->prologue->total_length = debug_line->len - origin_len - sizeof(lm->prologue->total_length);
memcpy(debug_line->data + origin_len, &lm->prologue->total_length, sizeof(lm->prologue->total_length));
- scf_loge("lm->prologue->total_length: %u\n", lm->prologue->total_length);
+ scf_logd("lm->prologue->total_length: %u\n", lm->prologue->total_length);
return 0;
}
return -ENOMEM;
}
- scf_logw("j: %d, nb_syms: %d:%ld, sym: %s\n", j, nb_syms, ELF32_R_SYM(rela2->r_info), rela2->name);
+ scf_logd("j: %d, nb_syms: %d:%ld, sym: %s\n", j, nb_syms, ELF32_R_SYM(rela2->r_info), rela2->name);
rela->r_offset = rela2->r_offset;
rela->r_info = rela2->r_info;
return -ENOMEM;
}
- scf_loge("sym: %d, %s\n", exec->syms->size, sym->name);
+ scf_logd("sym: %d, %s\n", exec->syms->size, sym->name);
if (scf_vector_add(exec->syms, sym) < 0) {
scf_loge("\n");
return -1;
}
- scf_loge("i: %d, input: %s\n", i, inputs[i]);
+ scf_logi("i: %d, input: %s\n", i, inputs[i]);
int ret = merge_obj(exec, obj, bits);
if (ret < 0) {
}
}
- if (0 == n) {
- scf_loge("global symbol: %s not found\n", sym->name);
+ if (0 == n)
return -1;
-
- } else if (n > 1) {
- scf_loge("tow global symbol: %s\n", sym->name);
+ else if (n > 1) {
+ scf_logi("tow global symbol: %s\n", sym->name);
return -1;
}
}
break;
}
- if (j == libs->size) {
- scf_loge("\n");
+ if (j == libs->size)
return -1;
- }
fseek(ar->fp, asym->offset, SEEK_SET);
else
rela->r_info = ELF32_R_INFO(j + 1, ELF32_R_TYPE(rela->r_info));
- scf_loge("j: %d, sym: %s, r_offset: %#lx, r_addend: %ld\n", j,
+ scf_logd("j: %d, sym: %s, r_offset: %#lx, r_addend: %ld\n", j,
sym->name, rela->r_offset, rela->r_addend);
}
return -1;
}
- scf_loge("sym: %s, offset: %d, size: %d\n\n", sym->name, offset, size);
+ scf_logi("sym: %s, offset: %d, size: %d\n\n", sym->name, offset, size);
ret = merge_ar_obj(exec, ar, offset, size, arch);
if (ret < 0) {
for (i = 0; i < exec->dyn_needs->size; i++) {
so = exec->dyn_needs->data[i];
- scf_loge("so: %s\n", so->name->data);
+ scf_logd("so: %s\n", so->name->data);
int sym_idx;
int j;
return -ENOMEM;
}
- scf_loge("soname: %s\n", soname);
+ scf_logi("soname: %s\n", soname);
return 0;
}
if (ret < 0)
return ret;
- scf_loge("sh_rela: %u\n", sh_rela->sh.sh_link);
+ scf_logd("sh_rela: %u\n", sh_rela->sh.sh_link);
ret = __elf_read_section_by_index(elf, &symtab, sh_rela->sh.sh_link);
if (ret < 0) {
for (i = 0; i < e->sections->size; i++) {
s = e->sections->data[i];
- scf_loge("sh->name: %s, data: %p, len: %d\n", s->name->data, s->data, s->data_len);
+ scf_logd("sh->name: %s, data: %p, len: %d\n", s->name->data, s->data, s->data_len);
if (s->data && s->data_len > 0)
fwrite(s->data, s->data_len, 1, elf->fp);
local_syms++;
}
- scf_loge("e->symbols->size: %d\n", e->symbols->size);
+ scf_logd("e->symbols->size: %d\n", e->symbols->size);
// .symtab header
section_header(&e->sh_symtab, shstrtab, 0, offset, symtab, nb_sections - 2, local_syms, sizeof(Elf64_Sym));
s = x64->sections->data[rs->sh.sh_info - 1];
- scf_loge("s: %s, rs: %s, rs->sh.sh_info: %u\n", s->name->data, rs->name->data, rs->sh.sh_info);
+ scf_logd("s: %s, rs: %s, rs->sh.sh_info: %u\n", s->name->data, rs->name->data, rs->sh.sh_info);
assert(!strcmp(s->name->data, rs->name->data + 5));
s->index = x64->sections->size + 1 + sizeof(sh_names) / sizeof(sh_names[0]);
- scf_logw("s: %s, link: %d, info: %d\n", s->name->data, s->sh.sh_link, s->sh.sh_info);
+ scf_logd("s: %s, link: %d, info: %d\n", s->name->data, s->sh.sh_link, s->sh.sh_info);
if (s->sh.sh_link > 0) {
assert(s->sh.sh_link - 1 < x64->sections->size);
syms[i + 1].st_name = str->len;
- scf_loge("i: %d, st_value: %#lx\n", i, syms[i + 1].st_value);
+ scf_logd("i: %d, st_value: %#lx\n", i, syms[i + 1].st_value);
scf_string_cat_cstr_len(str, xsym->name->data, xsym->name->len + 1);
}
dyns[i].d_tag = DT_NEEDED;
dyns[i].d_un.d_val = str->len;
- scf_logw("i: %d, %s, %s\n", i, needed->data, needed->data + prefix);
+ scf_logd("i: %d, %s, %s\n", i, needed->data, needed->data + prefix);
scf_string_cat_cstr_len(str, needed->data + prefix, needed->len - prefix + 1);
}
for (i = 0; i < x64->sections->size; i++) {
s = x64->sections->data[i];
- scf_loge("i: %d, s: %s, index: %d\n", i, s->name->data, s->index);
+ scf_logd("i: %d, s: %s, index: %d\n", i, s->name->data, s->index);
if (s->link) {
scf_logd("link: %s, index: %d\n", s->link->name->data, s->link->index);
x64->interp->sh.sh_addr = rx_base + x64->interp->offset;
x64->plt->sh.sh_addr = rx_base + x64->plt->offset;
- scf_loge("rw_base: %#lx, offset: %#lx\n", rw_base, x64->got_plt->offset);
- scf_loge("got_addr: %#lx\n", x64->got_plt->sh.sh_addr);
+ scf_logd("rw_base: %#lx, offset: %#lx\n", rw_base, x64->got_plt->offset);
+ scf_logd("got_addr: %#lx\n", x64->got_plt->sh.sh_addr);
Elf64_Rela* rela_plt = (Elf64_Rela*)x64->rela_plt->data;
Elf64_Sym* dynsym = (Elf64_Sym* )x64->dynsym->data;
rela_plt[i].r_addend = 0;
rela_plt[i].r_info = ELF64_R_INFO(i + 1, R_X86_64_JUMP_SLOT);
- scf_loge("got_addr: %#lx\n", got_addr);
+ scf_logd("got_addr: %#lx\n", got_addr);
*got_plt = plt_addr + 6;
#include "scf_eda_pack.h"
-//#include "scf_def.h"
static int component_pins[SCF_EDA_Components_NB] =
{
static scf_edata_t component_datas[] =
{
{SCF_EDA_None, 0, 0, 0, 0, 0, 0, 0, 0},
- {SCF_EDA_Battery, 0, SCF_EDA_Battery_POS, 0, 0, 0, 0, 0, 0},
+ {SCF_EDA_Battery, 0, SCF_EDA_Battery_POS, 0, 0, 1e-9, 1e9, 0, 0},
{SCF_EDA_Resistor, 0, 0, 0, 0, 1e4, 0, 0, 0},
{SCF_EDA_Capacitor, 0, 0, 0, 0, 10, 0.1, 0, 0},
SCF_PACK_DEF_VAR(double, uh);
SCF_PACK_DEF_VAR(double, hfe);
- SCF_PACK_DEF_VAR(double, jdr);
SCF_PACK_DEF_VAR(double, dr);
SCF_PACK_DEF_VAR(double, sr);
SCF_PACK_DEF_VAR(double, pr);
- SCF_PACK_DEF_VAR(double, jsr);
- SCF_PACK_DEF_VAR(double, jpr);
-
SCF_PACK_DEF_VAR(uint64_t, path);
SCF_PACK_DEF_VAR(int, x);
SCF_PACK_INFO_VAR(ScfEpin, uh),
SCF_PACK_INFO_VAR(ScfEpin, hfe),
-SCF_PACK_INFO_VAR(ScfEpin, jdr),
SCF_PACK_INFO_VAR(ScfEpin, dr),
-
SCF_PACK_INFO_VAR(ScfEpin, sr),
SCF_PACK_INFO_VAR(ScfEpin, pr),
-SCF_PACK_INFO_VAR(ScfEpin, jsr),
-SCF_PACK_INFO_VAR(ScfEpin, jpr),
SCF_PACK_INFO_VAR(ScfEpin, path),
SCF_PACK_INFO_VAR(ScfEpin, x),
SCF_PACK_DEF_OBJS(ScfLine, lines);
SCF_PACK_DEF_VAR(double, v);
- SCF_PACK_DEF_VAR(double, a);
+ SCF_PACK_DEF_VAR(double, ain);
+ SCF_PACK_DEF_VAR(double, aout);
SCF_PACK_DEF_VAR(uint8_t, vconst);
SCF_PACK_DEF_VAR(uint8_t, aconst);
SCF_PACK_DEF_VAR(uint8_t, vflag);
SCF_PACK_INFO_OBJS(ScfEline, lines, ScfLine),
SCF_PACK_INFO_VAR(ScfEline, v),
-SCF_PACK_INFO_VAR(ScfEline, a),
+SCF_PACK_INFO_VAR(ScfEline, ain),
+SCF_PACK_INFO_VAR(ScfEline, aout),
SCF_PACK_INFO_VAR(ScfEline, vconst),
SCF_PACK_INFO_VAR(ScfEline, aconst),
SCF_PACK_INFO_VAR(ScfEline, vflag),
SCF_PACK_DEF_VAR(double, a);
SCF_PACK_DEF_VAR(double, dr);
- SCF_PACK_DEF_VAR(double, jdr);
SCF_PACK_DEF_VAR(double, r);
SCF_PACK_DEF_VAR(double, uf);
SCF_PACK_INFO_VAR(ScfEcomponent, a),
SCF_PACK_INFO_VAR(ScfEcomponent, dr),
-SCF_PACK_INFO_VAR(ScfEcomponent, jdr),
SCF_PACK_INFO_VAR(ScfEcomponent, r),
SCF_PACK_INFO_VAR(ScfEcomponent, uf),
scf_dn_status_t* ds;
if (!dn) {
- _x64_rcg_node_printf(rn);
+ //_x64_rcg_node_printf(rn);
continue;
}
ds->color = gn->color;
dn->color = gn->color;
- _x64_rcg_node_printf(rn);
+ //_x64_rcg_node_printf(rn);
}
- printf("\n");
+ //printf("\n");
return 0;
}
if (!c->instructions)
continue;
- scf_3ac_code_print(c, NULL);
- _x64_inst_printf(c);
+// scf_3ac_code_print(c, NULL);
+// _x64_inst_printf(c);
}
return bb_offset;
if (ds->color == dn->color)
continue;
-#if 1
+#if 0
scf_variable_t* v = dn->var;
if (v->w)
scf_logw("v_%d_%d/%s, ", v->w->line, v->w->pos, v->w->text->data);
return ret;
}
- scf_loge("************ bb: %d\n", bb->index);
+ scf_logd("************ bb: %d\n", bb->index);
ret = _x64_make_insts_for_list(ctx, &bb->code_list_head, 0);
if (ret < 0)
return ret;
bb->native_flag = 1;
- scf_loge("************ bb: %d\n", bb->index);
+ scf_logd("************ bb: %d\n", bb->index);
ret = x64_save_bb_colors(bb->dn_colors_exit, bbg, bb);
if (ret < 0)
for (i = 0; i < local_vars->size; i++) {
scf_variable_t* v = local_vars->data[i];
assert(v->w);
- scf_logi("v: %p, name: %s_%d_%d, size: %d, bp_offset: %d, arg_flag: %d\n",
+ scf_logd("v: %p, name: %s_%d_%d, size: %d, bp_offset: %d, arg_flag: %d\n",
v, v->w->text->data, v->w->line, v->w->pos,
scf_variable_size(v), v->bp_offset, v->arg_flag);
}
if (scf_vector_find(bb->dn_loads, dn)) {
scf_variable_t* v = dn->var;
if (v->w)
- scf_loge("v_%d_%d/%s, ", v->w->line, v->w->pos, v->w->text->data);
+ scf_logd("v_%d_%d/%s, ", v->w->line, v->w->pos, v->w->text->data);
else
- scf_loge("v_%#lx, ", 0xffff & (uintptr_t)v);
+ scf_logd("v_%#lx, ", 0xffff & (uintptr_t)v);
- printf("color: %ld, loaded: %d", dn->color, dn->loaded);
+// printf("color: %ld, loaded: %d", dn->color, dn->loaded);
if (dn->color > 0) {
scf_register_t* r = x64_find_register_color(dn->color);
- printf(", reg: %s", r->name);
+// printf(", reg: %s", r->name);
}
- printf("\n");
+// printf("\n");
}
}
}
x64_rcg_node_t* rn = node_max->data;
if (rn->dag_node->var->w)
- scf_logi("max_neighbors: %d, %s\n", max, rn->dag_node->var->w->text->data);
+ scf_logd("max_neighbors: %d, %s\n", max, rn->dag_node->var->w->text->data);
else
- scf_logi("max_neighbors: %d, v_%p\n", max, rn->dag_node->var);
+ scf_logd("max_neighbors: %d, v_%p\n", max, rn->dag_node->var);
return node_max;
}
int data_rela_size = f->data_relas->size;
int text_rela_size = f->text_relas->size;
- scf_loge("f->data_relas->size: %d, f->text_relas->size: %d\n", f->data_relas->size, f->text_relas->size);
+ scf_logd("f->data_relas->size: %d, f->text_relas->size: %d\n", f->data_relas->size, f->text_relas->size);
int ret;
int i;
if (scf_variable_const_string(src->var))
return _x64_inst_op2_imm_str(OpCode_type, dst, src, c, f);
- if (!scf_variable_float(src->var)) {
- scf_loge("\n");
+ if (!scf_variable_float(src->var))
return _x64_inst_op2_imm(OpCode_type, dst, src, c, f);
- }
+
src->color = -1;
src->var->global_flag = 1;
}
int i;
for (i = 0; i < 4; i++)
inst->code[inst->len++] = p[i];
-
- scf_logw("global var\n");
return 0;
}
scf_vector_del(insts, push);
- scf_loge("del: \n");
+ scf_logw("del: \n");
scf_instruction_print(push);
free(push);
assert(0 == scf_vector_del(c->instructions, inst));
assert(0 == scf_vector_del(tmp_insts, inst));
- scf_loge("del: \n");
+ scf_logw("del: \n");
scf_instruction_print(inst);
free(inst);
scf_dag_node_t* dn = r->dag_nodes->data[j];
if (dn->var->w)
- scf_logw("drop: v_%d_%d/%s\n", dn->var->w->line, dn->var->w->pos, dn->var->w->text->data);
+ scf_logd("drop: v_%d_%d/%s\n", dn->var->w->line, dn->var->w->pos, dn->var->w->text->data);
else
- scf_logw("drop: v_%#lx\n", 0xffff & (uintptr_t)dn->var);
+ scf_logd("drop: v_%#lx\n", 0xffff & (uintptr_t)dn->var);
int ret = scf_vector_del(r->dag_nodes, dn);
if (ret < 0) {
if (scf_variable_const(v)) {
if (v->w)
- scf_logw("const literal var: v_%s_%d_%d not save\n", v->w->text->data, v->w->line, v->w->pos);
+ scf_logd("const literal var: v_%s_%d_%d not save\n", v->w->text->data, v->w->line, v->w->pos);
else
- scf_logw("const literal var: v_%#lx not save\n", 0xffff & (uintptr_t)v);
+ scf_logd("const literal var: v_%#lx not save\n", 0xffff & (uintptr_t)v);
goto end;
}
v->tmp_flag = 1;
f->local_vars_size = local_vars_size;
-
+#if 0
scf_logw("r: %s, temp var, ", r->name);
if (v->w)
printf("v_%d_%d/%s, bp_offset: %d\n", v->w->line, v->w->pos, v->w->text->data, v->bp_offset);
else
printf("v_%#lx, bp_offset: %d\n", 0xffff & (uintptr_t)v, v->bp_offset);
-
+#endif
} else {
-#if 1
+#if 0
if (v->w)
scf_logw("save var: v_%d_%d/%s, ", v->w->line, v->w->pos, v->w->text->data);
else
mov = x64_find_OpCode(SCF_X64_MOVSD, r->bytes, r->bytes, SCF_X64_G2E);
} else {
mov = x64_find_OpCode(SCF_X64_MOV, r->bytes, r->bytes, SCF_X64_G2E);
- scf_loge("v->size: %d\n", v->size);
+ scf_logd("v->size: %d\n", v->size);
}
inst = x64_make_inst_G2M(&rela, mov, v, NULL, r);
j++;
continue;
}
-#if 1
+#if 0
scf_variable_t* v = dn->var;
scf_variable_t* v2 = dn2->var;
if (v->w)
- scf_loge("v_%d_%d/%s, bp_offset: %d\n", v->w->line, v->w->pos, v->w->text->data, v->bp_offset);
+ scf_logi("v_%d_%d/%s, bp_offset: %d\n", v->w->line, v->w->pos, v->w->text->data, v->bp_offset);
else
- scf_loge("v_%#lx, bp_offset: %d\n", 0xffff & (uintptr_t)v, v->bp_offset);
+ scf_logi("v_%#lx, bp_offset: %d\n", 0xffff & (uintptr_t)v, v->bp_offset);
if (v2->w)
- scf_loge("v2_%d_%d/%s, bp_offset: %d\n", v2->w->line, v2->w->pos, v2->w->text->data, v2->bp_offset);
+ scf_logi("v2_%d_%d/%s, bp_offset: %d\n", v2->w->line, v2->w->pos, v2->w->text->data, v2->bp_offset);
else
- scf_loge("v2_%#lx, bp_offset: %d\n", 0xffff & (uintptr_t)v2, v2->bp_offset);
+ scf_logi("v2_%#lx, bp_offset: %d\n", 0xffff & (uintptr_t)v2, v2->bp_offset);
#endif
int ret = x64_save_var(dn2, c, f);
if (ret < 0)
return -1;
}
- scf_loge("fname: %s\n", fname);
+ scf_logi("fname: %s\n", fname);
scf_vector_t* vec;
return -ENOMEM;
}
+ printf("\n");
+
scf_parse_t* parse = NULL;
if (scf_parse_open(&parse) < 0) {
for (i = 0; i < entry->childs->size; i++) {
scf_dfa_node_t* n = entry->childs->data[i];
- scf_logi("n->name: %s\n", n->name);
+ scf_logd("n->name: %s\n", n->name);
}
return 0;
d->expr = d->expr->parent;
if (0 == d->expr->nb_nodes) {
- scf_loge("d->expr: %p\n", d->expr);
scf_expr_free(d->expr);
d->expr = NULL;
scf_node_add_child(parent, d->expr);
- scf_loge("d->expr->parent->type: %d\n", d->expr->parent->type);
+ scf_logd("d->expr->parent->type: %d\n", d->expr->parent->type);
if (_expr_multi_rets(d->expr) < 0) {
scf_loge("\n");
d->expr = NULL;
}
- scf_loge("d->expr: %p, d->expr_local_flag: %d\n", d->expr, d->expr_local_flag);
+ scf_logd("d->expr: %p, d->expr_local_flag: %d\n", d->expr, d->expr_local_flag);
}
return SCF_DFA_OK;
free(id);
id = NULL;
- scf_logi("function: %s,line:%d,pos:%d, member_flag: %d\n",
- f->node.w->text->data, f->node.w->line, f->node.w->pos, f->member_flag);
+ scf_logi("function: %s,line:%d, member_flag: %d\n", f->node.w->text->data, f->node.w->line, f->member_flag);
int void_flag = 0;
d->current_function->vargs_flag = 1;
- scf_logw("\n");
-
return SCF_DFA_NEXT_WORD;
}
d->nb_lps = 0;
d->nb_rps = 0;
- scf_logi("\n");
return SCF_DFA_OK;
}
for (i = 0; i < base_type->childs->size; i++) {
scf_dfa_node_t* n = base_type->childs->data[i];
- scf_logw("n->name: %s\n", n->name);
+ scf_logd("n->name: %s\n", n->name);
}
scf_logi("\n");
int ret = scf_lex_pop_word(parse->lex, &w);
if (ret < 0) {
scf_loge("lex pop word failed\n");
- return -1;
+ return ret;
}
if (SCF_LEX_WORD_EOF == w->type) {
- scf_logi("eof\n");
+ scf_logi("eof\n\n");
scf_lex_push_word(parse->lex, w);
w = NULL;
break;
}
if (SCF_LEX_WORD_SPACE == w->type) {
- scf_loge("lex word space\n");
scf_lex_word_free(w);
w = NULL;
continue;
return -1;
}
- scf_loge("abbrevs->size: %d\n", parse->debug->abbrevs->size);
+ scf_logd("abbrevs->size: %d\n", parse->debug->abbrevs->size);
d = parse->debug->abbrevs->data[parse->debug->abbrevs->size - 1];
}
return -1;
}
- scf_loge("abbrevs->size: %d\n", parse->debug->abbrevs->size);
+ scf_logd("abbrevs->size: %d\n", parse->debug->abbrevs->size);
d = parse->debug->abbrevs->data[parse->debug->abbrevs->size - 1];
}
return ret;
} else if (DW_AT_decl_file == iattr->name) {
- scf_loge("f->node.w->file->data: %s\n", f->node.w->file->data);
+ scf_logd("f->node.w->file->data: %s\n", f->node.w->file->data);
scf_string_t* s;
int k;
- scf_loge("parse->debug->file_names->size: %d\n", parse->debug->file_names->size);
+ scf_logd("parse->debug->file_names->size: %d\n", parse->debug->file_names->size);
for (k = 0; k < parse->debug->file_names->size; k++) {
s = parse->debug->file_names->data[k];
- scf_loge("s->data: %s\n", s->data);
+ scf_logd("s->data: %s\n", s->data);
if (!strcmp(s->data, f->node.w->file->data))
break;
for (i = 0; i < functions->size; i++) {
f = functions->data[i];
- scf_logi("i: %d, f: %p, fname: %s, f->argv->size: %d, f->node.define_flag: %d, inline_flag: %d\n",
- i, f, f->node.w->text->data, f->argv->size, f->node.define_flag, f->inline_flag);
+ scf_logi("i: %d, fname: %s, f->argv->size: %d, f->node.define_flag: %d, inline_flag: %d\n",
+ i, f->node.w->text->data, f->argv->size, f->node.define_flag, f->inline_flag);
if (!f->node.define_flag)
continue;
goto code_error;
}
- scf_logi("all global_vars: %d\n", global_vars->size);
+ scf_logd("all global_vars: %d\n", global_vars->size);
parse->debug->arch = (char*)arch;