summaryrefslogtreecommitdiff
path: root/test/msan/chained_origin.cc
AgeCommit message (Collapse)Author
2016-12-08[MSAN][MIPS] Fix fork.cc test on MIPSSagar Thakur
Summary: For platforms which support slow unwinder only, we restrict the store context size to 1, basically only storing the current pc. We do this because the slow unwinder which is based on libunwind is not async signal safe and causes random freezes in forking applications as well as in signal handlers. Reviewed by eugenis. Differential: D23107 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289027 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-18[mips][msan] Fix all the XPASSes following r278793 and r278795Daniel Sanders
All msan tests are now passing for mipsel and mips64el except for allocator_mapping.cc which is marked unsupported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@279048 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-15[msan] Fix line number sensitivity in chained_origin.cc and ↵Daniel Sanders
chained_origin_memcpy.cc Reviewers: eugenis Subscribers: eugenis, llvm-commits Differential Revision: https://reviews.llvm.org/D23512 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@278712 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-15[mips] XFAIL mips64el tests that fail on clang-cmake-mipselDaniel Sanders
These tests were recently enabled and have never worked on this builder. Three tests were sensitive to line number changes: test/msan/Linux/obstack.cc test/msan/chained_origin.cc test/msan/chained_origin_memcpy.cc and this sensitivity will be addressed in a follow-up patch. Of these, obstack.cc's sensitivity to line numbers is unexplained since it already uses [[@LINE]]. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@278671 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-02[MSan] Remove explicit -m64 from RUN lines.Alexey Samsonov
Target-specific flags should usually be configured by CMake/lit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@230999 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-25[msan] Fix bad interaction between with-calls mode and chained origin tracking.Evgeniy Stepanov
Origin history should only be recorded for uninitialized values, because it is meaningless otherwise. This change moves __msan_chain_origin to the runtime library side and makes it conditional on the corresponding shadow value. Previous code was correct, but _very_ inefficient. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211700 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30Add %run to all lit testsGreg Fitzgerald
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-31[msan] Remove an extra top frame from track-origins=2 reports.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205192 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-20[msan] Use new -fsanitize-memory-track-origins= flag in MSan tests.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204347 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-19[msan] Fix line numbers in test.Evgeniy Stepanov
This corresponds to a fix in llvm::SplitBlockAndInsertIfThen. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204229 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-18[msan] Origin tracking with history, compiler-rt part.Evgeniy Stepanov
Compiler-rt part of MSan implementation of advanced origin tracking, when we record not only creation point, but all locations where an uninitialized value was stored to memory, too. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204152 91177308-0d34-0410-b5e6-96231b3b80d8