Evgeniy Stepanov
99d3791a88
[sanitizer] Fix crash in getgrnam_r and similar interceptors.
...
When no matching record is found, getgrnam_r return 0 but sets result to NULL.
Should fix PR19734.
llvm-svn: 208773
2014-05-14 12:32:40 +00:00
Evgeniy Stepanov
adc3ff9f48
[sanitizer] Move open_memstream test under Linux.
...
llvm-svn: 208755
2014-05-14 07:27:18 +00:00
Evgeniy Stepanov
5680a26b0b
[msan] Better open_memstream support.
...
Move fflush and fclose interceptors to sanitizer_common.
Use a metadata map to keep information about the external locations
that must be updated when the file is written to.
llvm-svn: 208676
2014-05-13 08:36:31 +00:00
Alexey Samsonov
79b8fb5d2c
Mark ptrace test as Linux-specific
...
llvm-svn: 208643
2014-05-13 00:02:18 +00:00
Alexey Samsonov
b51d6081f3
Restrict the set of sanitizers that should run tests from test/sanitizer_common
...
llvm-svn: 208639
2014-05-12 22:48:29 +00:00
Alexey Samsonov
0bef819f9f
[Sanitizer] Add the machinery to run the same test under several sanitizers
...
llvm-svn: 208378
2014-05-09 00:28:18 +00:00
Alexey Samsonov
6dd8dfb1c4
[Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir for consistency.
...
llvm-svn: 208373
2014-05-08 23:53:02 +00:00
Alexey Samsonov
35a66d15d4
Move config for sanitizer_common tests under test/ for consistency
...
llvm-svn: 201779
2014-02-20 12:18:08 +00:00