diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 18:18:34 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-03 18:18:34 +0000 |
commit | 6d97bb297c123377182a5d78b412be5c1d723e08 (patch) | |
tree | 5e57003ce58361eb4909e2a22461b096529d726f /contrib/compiler-rt/lib/ubsan/ubsan_handlers.h | |
parent | 4224465e820a1a7232255d980e692720169776af (diff) | |
parent | d288ef4c1788d3a951a7558c68312c2d320612b1 (diff) | |
download | src-test2-6d97bb297c123377182a5d78b412be5c1d723e08.tar.gz src-test2-6d97bb297c123377182a5d78b412be5c1d723e08.zip |
Notes
Diffstat (limited to 'contrib/compiler-rt/lib/ubsan/ubsan_handlers.h')
-rw-r--r-- | contrib/compiler-rt/lib/ubsan/ubsan_handlers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/ubsan/ubsan_handlers.h b/contrib/compiler-rt/lib/ubsan/ubsan_handlers.h index 5857bc2495f5..483c18ced579 100644 --- a/contrib/compiler-rt/lib/ubsan/ubsan_handlers.h +++ b/contrib/compiler-rt/lib/ubsan/ubsan_handlers.h @@ -152,6 +152,13 @@ struct NonNullArgData { RECOVERABLE(nonnull_arg, NonNullArgData *Data) RECOVERABLE(nullability_arg, NonNullArgData *Data) +struct PointerOverflowData { + SourceLocation Loc; +}; + +RECOVERABLE(pointer_overflow, PointerOverflowData *Data, ValueHandle Base, + ValueHandle Result) + /// \brief Known CFI check kinds. /// Keep in sync with the enum of the same name in CodeGenFunction.h enum CFITypeCheckKind : unsigned char { |