feat(ir2mcode): 添加中间代码到统一输出格式转换模块

- 在.gitignore中添加*.pdb和*.dmp文件类型以忽略调试符号文件
- 重构libs/README.md文档,为各组件添加详细的功能说明和层级结构
- 创建ir2mcode模块的cbuild.toml配置文件,定义依赖关系
- 实现scc_ir2sccf功能,提供MIR到SCCF格式转换的核心接口
- 添加必要的头文件声明和基础实现框架
This commit is contained in:
zzy
2026-04-26 18:22:08 +08:00
parent f57ba9bd31
commit d7ac5fd30b
7 changed files with 186 additions and 13 deletions

View File

@@ -0,0 +1,4 @@
#ifndef __SCC_IR2MCODE_H__
#define __SCC_IR2MCODE_H__
#endif /* __SCC_IR2MCODE_H__ */

View File

@@ -0,0 +1,9 @@
#ifndef __SCC_IR2SCCF_H__
#define __SCC_IR2SCCF_H__
#include <scc_mir_module.h>
#include <sccf_builder.h>
void scc_mir2sccf(sccf_builder_t *builder, scc_mir_module_t *mir_module);
#endif /* __SCC_IR2SCCF_H__ */