Vitaly Buka
15805c030f
[tests][msan] Use -fno-sanitize-memory-param-retval in tests
...
Supports either default of -f[no-]sanitize-memory-param-retval.
Reviewed By: aeubanks, MaskRay
Differential Revision: https://reviews.llvm.org/D134683
2022-09-26 17:24:22 -07:00
Kevin Athey
0b509f2d1a
[MSAN] removing redundant tests and parameters (NFC)
...
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D117622
2022-09-01 14:03:55 -07:00
hyeongyu kim
be9eafc710
[msan] reflect the changed flag to the tests.
...
1b1c8d changed `enable-noundef-analysis` flag to
`disable-noundef-analysis`. noundef_analysis.cpp was using old
`enable-noundef-analysis` flag and this patch fixes it.
2022-01-16 20:48:05 +09:00
Kevin Athey
0f93448235
enable noundef analysis with -fsanitize-memory-param-retval
...
Enable noundef analysis (-enable-noundef-analysis) via the -fsanitize-memory-param-retval clang flag.
This completes the work found in:
- https://reviews.llvm.org/D116855
- https://reviews.llvm.org/D116633
Depends on D116633
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D117293
2022-01-14 17:18:29 -08:00
Kevin Athey
6c2be3015e
[NFC][sanitizer] Add test for command line flag for enable-noundef-analysis.
...
A simple unit test to demonstrate the flags working correctly.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D114485
2021-12-03 15:44:36 -08:00