[cfe-commits] r48374 - /cfe/trunk/Analysis/GRExprEngine.cpp
Mike Stump
mrs at apple.com
Fri Mar 14 21:58:26 PDT 2008
On Mar 14, 2008, at 2:58 PM, Ted Kremenek wrote:
> Author: kremenek
> Date: Fri Mar 14 16:58:42 2008
> New Revision: 48374
>
> URL: http://llvm.org/viewvc/llvm-project?rev=48374&view=rev
> Log:
> Hack to hardwire in some panic functions that are not marked noreturn.
gcc knows about these due to builtins being merged with the normal decl:
$ grep NORETURN *.def
builtins.def:DEF_LIB_BUILTIN (BUILT_IN_ABORT, "abort",
BT_FN_VOID,
builtins.def:DEF_GCC_BUILTIN (BUILT_IN_EH_RETURN, "eh_return",
BT_FN_VOID_PTRMODE_PTR,
builtins.def:DEF_LIB_BUILTIN (BUILT_IN_EXIT, "exit",
BT_FN_VOID_INT,
builtins.def:DEF_GCC_BUILTIN (BUILT_IN_LONGJMP, "longjmp",
BT_FN_VOID_PTR_INT,
builtins.def:DEF_GCC_BUILTIN (BUILT_IN_RETURN, "return",
BT_FN_VOID_PTR,
builtins.def:DEF_GCC_BUILTIN (BUILT_IN_TRAP, "trap", BT_FN_VOID,
builtins.def:DEF_EXT_LIB_BUILTIN (BUILT_IN__EXIT, "_exit",
BT_FN_VOID_INT,
builtins.def:DEF_C99_BUILTIN (BUILT_IN__EXIT2, "_Exit",
BT_FN_VOID_INT,
:-)
More information about the cfe-commits
mailing list