llvm-project/compiler-rt/test
Evgeniy Stepanov 844f5828e9 [msan] Fix origins in realloc.
Fixes 2 issues in origins arising from realloc() calls:
 * In the in-place grow case origin for the new memory is not set at all.
 * In the copy-realloc case __msan_memcpy is used, which unwinds stack from
   inside the MSan runtime. This does not generally work (as we may be built
   w/o frame pointers), and produces "bad" stack trace anyway, with several
   uninteresting (internal) frames on top.

This change also makes realloc() honor "zeroise" and "poison_in_malloc" flags.

See https://code.google.com/p/memory-sanitizer/issues/detail?id=73.

llvm-svn: 226674
2015-01-21 16:48:29 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [ASan] Fix the test expectations for dyld_insert_libraries_reexec.cc 2015-01-21 10:04:41 +00:00
builtins tests: correct builtins test if built under -mthumb on ARM 2015-01-05 21:54:50 +00:00
dfsan [DFSan] Add flag to dump the labels when the program terminates. 2014-11-20 10:01:08 +00:00
lsan [sanitizer] Flag parser rewrite. 2015-01-15 15:13:43 +00:00
msan [msan] Fix origins in realloc. 2015-01-21 16:48:29 +00:00
profile Update lib/profile tests for metadata assembly change 2014-12-15 21:34:19 +00:00
sanitizer_common [sanitizer] Make unrecognized flags not fatal. 2015-01-19 12:22:57 +00:00
tsan tsan: remove sleeps from tests 2015-01-21 13:50:02 +00:00
ubsan Update for tests failing due to improvements in clang's column information for aggregate expressions 2015-01-18 02:17:55 +00:00
CMakeLists.txt Don't make check-sanitizer depend on profile on Windows 2014-11-21 23:09:51 +00:00
lit.common.cfg [compiler-rt] Re-enable the use of -gmlt for ASan tests on Darwin 2014-09-30 23:07:45 +00:00
lit.common.configured.in Use the newer python syntax for exceptions 2014-12-13 02:46:56 +00:00