llvm-project/compiler-rt/test
Vedant Kumar 059d20360a [ubsan] Add support for reporting diagnostics to a monitor process
Add support to the ubsan runtime for reporting diagnostics to a monitor
process (e.g a debugger).

The Xcode IDE uses this by setting a breakpoint on __ubsan_on_report and
collecting diagnostic information via __ubsan_get_current_report_data,
which it then surfaces to users in the editor UI.

Testing for this functionality already exists in upstream lldb, here:
lldb/packages/Python/lldbsuite/test/functionalities/ubsan

Apart from that, this is `ninja check-{a,ub}san` clean.

Differential Revision: https://reviews.llvm.org/D48446

llvm-svn: 335371
2018-06-22 17:21:17 +00:00
..
BlocksRuntime
asan [sanitizer] Unify and generalize Apple platforms in CMake and lit test configs 2018-06-20 13:33:42 +00:00
builtins [builtins][macos] bump up the the macOS version min in os_version_check tests 2018-05-17 18:41:38 +00:00
cfi cfi: Disable simple-pass.cpp on Darwin. 2018-03-09 20:41:56 +00:00
dfsan Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
esan [tsan] Update unittest for logging changes of r308637 2017-07-20 20:06:00 +00:00
fuzzer [libFuzzer] Filter architectures for testing on Apple platforms. 2018-06-21 21:19:43 +00:00
hwasan [HWASan] Disable allocator_returns_null.cc test on Android. 2018-06-08 00:56:49 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan [Sanitizers] Move allocator_returns_null.cc test to common. 2018-06-11 19:45:59 +00:00
msan [sanitizer] Add fgets, fputs and puts into sanitizer_common 2018-06-11 22:58:04 +00:00
profile [profile] Move newly added test to the supported platform 2018-04-02 21:24:07 +00:00
safestack Factor out "stable-runtime" feature and enable it on all android. 2017-10-10 23:37:26 +00:00
sanitizer_common [sanitizer] Unify and generalize Apple platforms in CMake and lit test configs 2018-06-20 13:33:42 +00:00
scudo [scudo] Add verbose failures in place of CHECK(0) 2018-06-15 16:45:19 +00:00
shadowcallstack shadowcallstack: Make runtime tests compatible with aarch64. 2018-04-09 20:18:10 +00:00
tsan [TSan] fix build and couple of unit tests on FreeBSD 2018-06-20 20:17:44 +00:00
ubsan [ubsan] Add support for reporting diagnostics to a monitor process 2018-06-22 17:21:17 +00:00
ubsan_minimal [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +00:00
xray [XRay] rm GLOB || true -> rm -f 2018-06-19 07:11:33 +00:00
CMakeLists.txt libFuzzer, OpenBSD support 2018-04-09 22:38:26 +00:00
lit.common.cfg [sanitizer] Stop running tests against 32-bit iOS simulator 2018-06-21 15:21:24 +00:00
lit.common.configured.in Fix-up for r335123: Set default apple_platform to "osx". 2018-06-20 14:59:16 +00:00