12.07.2015 Views

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

编 译 器 特 有 的 功 能4.3.6 __attribute__((noinline))此 函 数 属 性 禁 止 在 函 数 调 用 点 处 内 联 函 数 。注 意此 函 数 属 性 是 <strong>ARM</strong> 编 译 器 支 持 的 GNU 编 译 器 扩 展 。 它 具 有 等 效 的 __declspec__declspec(noinline)。示 例int fn(void) __attribute__((noinline));int fn(void){return 42;}另 请 参 阅• 第 4-63 页 的 #pragma inline, #pragma no_inline• 第 4-27 页 的 __declspec(noinline)4.3.7 __attribute__((no_instrument_function))此 函 数 属 性 将 指 示 在 使 用 --gnu_instrument 进 行 检 测 时 不 包 括 该 函 数 。另 请 参 阅• 第 2-67 页 的 --gnu_instrument, --no_gnu_instrument4.3.8 __attribute__((nomerge))此 函 数 属 性 防 止 源 代 码 中 对 该 函 数 的 不 同 调 用 在 对 象 代 码 中 合 并 。另 请 参 阅• 第 4-37 页 的 __attribute__((notailcall))• 第 2-109 页 的 --retain=option<strong>ARM</strong> DUI 0348BC Copyright © 2007-2009 <strong>ARM</strong> Limited. All rights reserved. 4-35ID090708Non-Confidential, Unrestricted Access

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!