summaryrefslogtreecommitdiff
path: root/lib/ubsan/ubsan_interface.inc
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-06-01 19:40:59 +0000
committerVedant Kumar <vsk@apple.com>2017-06-01 19:40:59 +0000
commitefd9e1ef2ba69497829dde2af6a879b789662e9b (patch)
tree41de6808c18c9e698b4c4ce1e3027056e91fcc5b /lib/ubsan/ubsan_interface.inc
parent0c1676c0068c7bda6cba4a7d24ba1aa500201086 (diff)
[ubsan] Runtime support for pointer overflow checking
Patch by John Regehr and Will Dietz! Differential Revision: https://reviews.llvm.org/D20323 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@304461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_interface.inc')
-rw-r--r--lib/ubsan/ubsan_interface.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ubsan/ubsan_interface.inc b/lib/ubsan/ubsan_interface.inc
index 0e43ebc68..681476b3c 100644
--- a/lib/ubsan/ubsan_interface.inc
+++ b/lib/ubsan/ubsan_interface.inc
@@ -36,6 +36,8 @@ INTERFACE_FUNCTION(__ubsan_handle_nullability_return)
INTERFACE_FUNCTION(__ubsan_handle_nullability_return_abort)
INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds)
INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds_abort)
+INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow)
+INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow_abort)
INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds)
INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds_abort)
INTERFACE_FUNCTION(__ubsan_handle_sub_overflow)