feat(ir2amd64): 支持函数返回值处理
- 在RET节点中添加对返回值的处理逻辑 - 解析返回值位置并加载到RAX寄存器 refactor(pe_builder): 禁用PE构建器中的日志输出 - 定义空的LOG_INFO宏以禁用调试信息 - 避免在PE构建过程中产生不必要的日志输出
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#include <scc_pe_builder.h>
|
||||
|
||||
#ifdef LOG_INFO
|
||||
#undef LOG_INFO
|
||||
#endif
|
||||
#define LOG_INFO(...)
|
||||
|
||||
#define reserve_align(offset, size) ((offset) + ((size) - 1)) & ~((size) - 1)
|
||||
|
||||
void scc_pe_builder_init(scc_pe_builder_t *builder, bool is_64,
|
||||
|
||||
Reference in New Issue
Block a user