This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c文件中没有用到的函数是否会被连接到out,进而转化为AIS中的二进制内容?



检查map文件时发现,c文件中没有使用的函数也会被分配一段RAM中的地址。有些没有使用的函数中包含字符串常量,在AIS生成的bin文件中能够直接看到,这是正常的嘛?

为什么不用的函数也要占用内存空间?