定义两个未调用的函数,
通过__attribute__((used)) 不起做用,依旧被优化掉(map中查询不到)
__attribute__((retain))起作用,map中可以查询到,
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.
定义两个未调用的函数,
通过__attribute__((used)) 不起做用,依旧被优化掉(map中查询不到)
__attribute__((retain))起作用,map中可以查询到,