diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-08 20:17:19 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-08 20:17:19 +0000 |
commit | 0e2758bfa935166c623305e143d8acea3417d508 (patch) | |
tree | 18e828057c81e9dbf99a313516c88c44d9a3a6a7 /lib/ubsan/ubsan_handlers.h | |
parent | 344b43fc8ffc0ec2e3128c2ffb806a1311bf5341 (diff) |
Report source location of returns_nonnull attribute in UBSan reports.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_handlers.h')
-rw-r--r-- | lib/ubsan/ubsan_handlers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ubsan/ubsan_handlers.h b/lib/ubsan/ubsan_handlers.h index e4b1b0b4c..49f4ca0e2 100644 --- a/lib/ubsan/ubsan_handlers.h +++ b/lib/ubsan/ubsan_handlers.h @@ -125,6 +125,7 @@ RECOVERABLE(function_type_mismatch, struct NonNullReturnData { SourceLocation Loc; + SourceLocation AttrLoc; }; /// \brief Handle returning null from function with returns_nonnull attribute. |