[SERVER-18597] Add support for dumping ASan code coverage data Created: 20/May/15 Updated: 19/Sep/15 Resolved: 26/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.4 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kamran K. | Assignee: | Kamran K. |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| 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:
|
| Comments |
| Comment by Githook User [ 09/Jun/15 ] |
|
Author: {u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}Message: Revert " This reverts commit 6fc1d7c617db0f9da9100f4ed3c929f0d76567b1. JS-test tasks for the ASan build are failing with this error: CHECK failed: sanitizer_common.h:323 "((initial_capacity)) > ((0))" (0x0, 0x0) |
| Comment by Githook User [ 26/May/15 ] |
|
Author: {u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}Message: The coverage data is only written when the appropriate compiler flags |