-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code, Testing Infrastructure
-
None
-
Fully Compatible
ASan can be configured to provide code coverage information since at least clang-3.4. quickExit needs to be modified to write the coverage information to disk before exiting.
Version reference:
Version | CCFLAGS |
---|---|
3.4 | -fsanitize=address -mllvm -asan-coverage=1 |
3.5 | -fsanitize=address -mllvm -asan-coverage=1 |
3.6 | -fsanitize=address -fsanitize-coverage=1 |
3.7 | -fsanitize=address -fsanitize-coverage=func |
- is related to
-
SERVER-18440 Can't pass -fsanitize-coverage to scons using CCFLAGS
- Closed
- related to
-
SERVER-18893 Re-enable ASan coverage support
- Closed