Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
Description
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 |
Attachments
Issue Links
- 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
-