]> granicus.if.org Git - clang/commitdiff
Add builtins from PR5255. Implementations coming soon.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 11 Feb 2010 19:02:42 +0000 (19:02 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 11 Feb 2010 19:02:42 +0000 (19:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95894 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.def

index c03f7013cf9094730c272ac3a0df61bfcab308a8..5060e9e9e90d3062a39acce50fb732083dc6eb87 100644 (file)
@@ -312,6 +312,14 @@ BUILTIN(__builtin_unwind_init, "v", "")
 BUILTIN(__builtin_eh_return_data_regno, "ii", "nc")
 BUILTIN(__builtin_vsnprintf, "ic*zcC*a", "nFP:2:")
 
+// GCC exception builtins
+BUILTIN(__builtin_eh_return, "vzv*", "") // FIXME: Takes intptr_t, not size_t!
+BUILTIN(__builtin_frob_return_addr, "v*v*", "n")
+BUILTIN(__builtin_dwarf_cfa, "v*", "n")
+BUILTIN(__builtin_init_dwarf_reg_size_table, "vv*", "n")
+BUILTIN(__builtin_dwarf_sp_column, "Ui", "n")
+BUILTIN(__builtin_extend_pointer, "iv*", "n")
+
 // GCC Object size checking builtins
 BUILTIN(__builtin_object_size, "zv*i", "n")
 BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "nF")