Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Coverage] Do not write out coverage mappings with zero entries | Vedant Kumar | 2016-07-26 | 1 | -0/+26 |
After r275121, we stopped mapping regions from system headers. Lambdas declared in regions belonging to system headers started producing empty coverage mappings, since the files corresponding to their spelling locs were being ignored. The coverage reader doesn't know what to do with these empty mappings. This commit makes sure that we don't produce them and adds a test. I'll make the reader stricter in a follow-up commit. llvm-svn: 276716 |