[PATCH] D83427: [MSAN] Update tests due to widespread eager checking
Gui Andrade via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 14:18:52 PDT 2020
guiand created this revision.
guiand added reviewers: eugenis, vitalybuka.
Herald added subscribers: llvm-commits, Sanitizers, hiraditya, mgorny.
Herald added projects: Sanitizers, LLVM.
Split off from D81699 <https://reviews.llvm.org/D81699>
Excludes `__sanitizer_unaligned_{load,store}` functions from checks.
This is because they absolutely expect shadows passed over TLS.
Adds lit configuration to be able to test MSAN's interaction
with widespread eager checking due to clang emitting noundef attrs.
Additionally introduces tests for:
- Bitfield handling
- Different sized function parameters
- MSAN and struct padding (when passing structs by value)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83427
Files:
compiler-rt/test/msan/CMakeLists.txt
compiler-rt/test/msan/bitfield.cpp
compiler-rt/test/msan/chained_origin.cpp
compiler-rt/test/msan/chained_origin_empty_stack.cpp
compiler-rt/test/msan/chained_origin_memcpy.cpp
compiler-rt/test/msan/cxa_atexit.cpp
compiler-rt/test/msan/in-struct-padding.cpp
compiler-rt/test/msan/insertvalue_origin.cpp
compiler-rt/test/msan/lit.site.cfg.py.in
compiler-rt/test/msan/no_sanitize_memory_prop.cpp
compiler-rt/test/msan/param_tls_limit.cpp
compiler-rt/test/msan/parameter-mixing.cpp
compiler-rt/test/msan/qsort.cpp
compiler-rt/test/msan/signal_stress_test.cpp
compiler-rt/test/msan/stack-origin2.cpp
compiler-rt/test/msan/unpoison_param.cpp
compiler-rt/test/msan/vararg.cpp
compiler-rt/test/msan/vector_cvt.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83427.276555.patch
Type: text/x-patch
Size: 18321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/4727acfe/attachment.bin>
More information about the llvm-commits
mailing list