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.

编 译 器 命 令 行 选 项void* operator new[](std::size_t);};void *operator new(std::size_t, int);如 果 启 用 --force_new_nothrow 选 项 , 则 上 述 示 例 将 被 视 为 :struct S{void* operator new(std::size_t) throw();void* operator new[](std::size_t) throw();};void *operator new(std::size_t, int) throw();另 请 参 阅• 第 5-13 页 的 使 用 ::operator new 函 数2.1.70 --forceinline此 选 项 强 制 所 有 内 联 函 数 被 视 为 用 __forceinline 进 行 限 定 。内 联 函 数 是 用 inline 或 __inline 限 定 的 函 数 。 在 C++ 中 , 内 联 函 数 是 在 结 构 、类 或 联 合 定 义 内 部 定 义 的 函 数 。如 果 使 用 --forceinline, 编 译 器 总 是 尽 量 尝 试 内 联 这 些 函 数 。 但 如 果 对 函 数 进 行内 联 时 出 现 问 题 , 则 编 译 器 将 不 再 内 联 。 例 如 , 递 归 函 数 仅 内 联 到 本 身 一 次 。另 请 参 阅• 第 2-16 页 的 --autoinline, --no_autoinline• 第 2-73 页 的 --inline, --no_inline• 第 4-6 页 的 __forceinline• 第 4-9 页 的 __inline• 《 编 译 器 用 户 指 南 》 中 第 5-17 页 的 管 理 内 联 。2-58 Copyright © 2007-2009 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348BCNon-Confidential, Unrestricted AccessID090708

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

Saved successfully!

Ooh no, something went wrong!