[cfe-commits] r83410 - /cfe/trunk/include/clang/Basic/Builtins.def
Chris Lattner
clattner at apple.com
Tue Oct 6 13:49:14 PDT 2009
On Oct 6, 2009, at 1:30 PM, Mike Stump wrote:
> Author: mrs
> Date: Tue Oct 6 15:30:09 2009
> New Revision: 83410
>
> URL: http://llvm.org/viewvc/llvm-project?rev=83410&view=rev
> Log:
> Add more of __builtin_abort, WIP, still missing codegen.
Shouldn't this be a libcall like __builtin_printf? If you add the
letter you don't need codegen.
-Chris
>
> Modified:
> cfe/trunk/include/clang/Basic/Builtins.def
>
> Modified: cfe/trunk/include/clang/Basic/Builtins.def
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=83410&r1=83409&r2=83410&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/include/clang/Basic/Builtins.def (original)
> +++ cfe/trunk/include/clang/Basic/Builtins.def Tue Oct 6 15:30:09
> 2009
> @@ -331,6 +331,7 @@
>
> BUILTIN(__builtin_expect, "iii" , "nc")
> BUILTIN(__builtin_prefetch, "vvC*.", "nc")
> +BUILTIN(__builtin_abort, "v", "nr")
> BUILTIN(__builtin_trap, "v", "nr")
> BUILTIN(__builtin_unreachable, "v", "nr")
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list