Fixes regression from r320533.
This fixes the undefined behavior, but I'm not sure it's really right... I think we end up with missing coverage for code in modules.
Differential D41374
[Coverage] Fix use-after free in coverage emission efriedma on Dec 18 2017, 5:35 PM. Authored by
Details Fixes regression from r320533. This fixes the undefined behavior, but I'm not sure it's really right... I think we end up with missing coverage for code in modules.
Diff Detail
Event TimelineComment Actions Thanks, this lgtm as a stopgap. As I mentioned offline, I think the goal should be to have non-modules and modules-enabled builds of a project produce identical coverage reports. I'll look into what exactly we're adding to the deferred decls map while iterating over it, and see if we're dropping any coverage mappings. |