__attribute_used__的作用
2015-10-24 12:09
295 查看
GCC的一个扩展属性
在Linux上这样的定义
#define __attribute_used__ __attribute__((__used__))
used
This attribute, attached to a function, means that code must be
emitted for the function even if it appears that the function is
not referenced. This is useful, for example, when the function is
referenced only in inline assembly.
在Linux上这样的定义
#define __attribute_used__ __attribute__((__used__))
used
This attribute, attached to a function, means that code must be
emitted for the function even if it appears that the function is
not referenced. This is useful, for example, when the function is
referenced only in inline assembly.
相关文章推荐
- HDU 2452 Navy maneuvers (记忆化搜索)
- LeetCode——Container With Most Water
- cf 55c Pie or die
- HDU 1074 Doing Homework
- 2015 ACM/ICPC Asia Regional Changchun Online
- linux笔记 第三天 Linux目录及文件管理、用户组管理及bash重定向
- 快速幂算法模板
- c语言 常量
- 线程的分组
- 计算几何 平面最近点对 nlogn分治算法 求平面中距离最近的两点
- JavaScript 权威指南(4): JavaScript 的作用域和提升
- HDU 1074 Doing Homework
- LM2596的肖特基二极管选择的注意点
- 智能机器
- 九度OJ 1139:最大子矩阵 (矩阵运算、缓存)
- HTML基础_01_基础标签
- 九度OJ 1139:最大子矩阵 (矩阵运算、缓存)
- C++ 栈
- UVA Josephus Problem 11089 (约瑟夫环) 数学好题
- Java System性能监控