[PATCH] D35085: Respect exitcode sanitizer option in UBSan
Francis Ricci via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 13:54:53 PDT 2017
fjricci created this revision.
Herald added a subscriber: kubamracek.
This patch ensures that UBSan returns the exit code specified
by sanitizer_flags if it detects an error during execution.
https://reviews.llvm.org/D35085
Files:
lib/ubsan/ubsan_diag.cc
lib/ubsan/ubsan_diag.h
lib/ubsan/ubsan_init.cc
test/ubsan/TestCases/Float/cast-overflow.cpp
test/ubsan/TestCases/Integer/add-overflow.cpp
test/ubsan/TestCases/Integer/div-overflow.cpp
test/ubsan/TestCases/Integer/div-zero.cpp
test/ubsan/TestCases/Integer/incdec-overflow.cpp
test/ubsan/TestCases/Integer/mul-overflow.cpp
test/ubsan/TestCases/Integer/negate-overflow.cpp
test/ubsan/TestCases/Integer/no-recover.cpp
test/ubsan/TestCases/Integer/sub-overflow.cpp
test/ubsan/TestCases/Integer/summary.cpp
test/ubsan/TestCases/Integer/uadd-overflow.cpp
test/ubsan/TestCases/Integer/uincdec-overflow.cpp
test/ubsan/TestCases/Integer/umul-overflow.cpp
test/ubsan/TestCases/Integer/usub-overflow.cpp
test/ubsan/TestCases/Misc/bounds.cpp
test/ubsan/TestCases/Misc/coverage-levels.cc
test/ubsan/TestCases/Misc/deduplication.cpp
test/ubsan/TestCases/Misc/enum.cpp
test/ubsan/TestCases/Misc/exitcode.cc
test/ubsan/TestCases/Misc/log-path_test.cc
test/ubsan/TestCases/Misc/nonnull.cpp
test/ubsan/TestCases/Misc/nullability.c
test/ubsan/TestCases/Misc/vla.c
test/ubsan/TestCases/Pointer/index-overflow.cpp
test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
test/ubsan/TestCases/TypeCheck/Function/function.cpp
test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
test/ubsan/TestCases/TypeCheck/PR33221.cpp
test/ubsan/TestCases/TypeCheck/misaligned.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35085.105527.patch
Type: text/x-patch
Size: 27889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/9d930610/attachment.bin>
More information about the llvm-commits
mailing list