As with the other sanitizers, it is desirable to allow ubsan's output to be redirected to somewhere other than stderr (and into per-process log files).
Details
Details
Diff Detail
Diff Detail
Event Timeline
| test/ubsan/TestCases/Misc/log-path_test.cc | ||
|---|---|---|
| 2 | Please try to cover just the basic functionality in this test case instead of copying the whole test case from ASan test suite. Ideally, we should create a shared test case for all sanitizers under compiler-rt/test/sanitizer_common, but that would require triggering a sanitizer-specific report somehow. | |
Comment Actions
Removed testing of invalid paths; that is common code that is covered already by the asan test.
| test/ubsan/TestCases/Misc/log-path_test.cc | ||
|---|---|---|
| 2 | Sure; I've removed the tests for the invalid paths because that's common code covered by the asan test. I've only left the places where ubsan does something relevant. | |
Please try to cover just the basic functionality in this test case instead of copying the whole test case from ASan test suite. Ideally, we should create a shared test case for all sanitizers under compiler-rt/test/sanitizer_common, but that would require triggering a sanitizer-specific report somehow.