llvm-project/compiler-rt/lib
Peter Collingbourne fdef020d80 hwasan: Ignore loads and stores of size 0.
Now that memory intrinsics are instrumented, it's more likely that
CheckAddressSized will be called with size 0. (It was possible before
with IR like:

  %val = load [0 x i8], [0 x i8]* %ptr

but I don't think clang will generate IR like that and the optimizer
would normally remove it by the time it got anywhere near our pass
anyway). The right thing to do in both cases is to disable the
addressing checks (since the underlying memory intrinsic is a no-op),
so that's what we do.

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

llvm-svn: 350683
2019-01-09 00:44:13 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [asan] Support running without /proc 2019-01-08 01:07:34 +00:00
builtins [builtins] Remove trailing whitespaces, NFC 2018-12-10 22:52:59 +00:00
cfi Unbreak linux cfi build 2018-10-01 18:14:02 +00:00
dfsan [dfsan] Fix build after r346262 2018-11-06 20:42:19 +00:00
esan [Sanitizer] Separate FreeBSD interception data structures 2018-12-07 20:05:55 +00:00
fuzzer [libFuzzer] make len_control less aggressive 2018-12-14 23:21:31 +00:00
hwasan hwasan: Ignore loads and stores of size 0. 2019-01-09 00:44:13 +00:00
interception [interception] Switch to _type suffix instead of _f, NFC. 2018-10-22 20:54:48 +00:00
lsan Introduce `AddressSpaceView` template parameter to `CombinedAllocator`. 2018-12-21 21:22:27 +00:00
msan Reimplement Thread Static Data MSan routines with TLS 2018-12-27 21:43:46 +00:00
profile Add support for LLVM profile for NetBSD 2018-12-22 06:56:19 +00:00
safestack SafeStack: Fix thread liveness check on *BSD 2018-08-28 18:30:03 +00:00
sanitizer_common [Sanitizer] Intercept fdevname on FreeBSD 2019-01-08 21:49:37 +00:00
scudo Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`. 2018-12-21 21:09:31 +00:00
stats [CMake] Add compiler-rt header files to the list of sources for targets 2018-07-10 13:00:17 +00:00
tsan [TSan] Support Objective-C @synchronized with tagged pointers 2019-01-07 19:19:23 +00:00
ubsan [compiler-rt][UBSan] silence_unsigned_overflow: do *NOT* ignore *fatal* unsigned overflows 2018-11-21 20:35:43 +00:00
ubsan_minimal [ubsan-minimal] update comments in CMakeLists.txt 2018-10-30 01:20:12 +00:00
xray Speculative fix for xray assembler error on MachO since r349976 2018-12-28 18:53:00 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00