llvm2lcov: use ignorable_error rather than die for unsupported MC/DC entries format#474
Conversation
…entries format Signed-off-by: Roman Beliaev <r.beliaev@ispras.ru>
|
In this particular case: I think it is (moderately) safe to continue after noticing the issue - unless the array size is less than 10 |
I think that if the MC/DC entries format is unexpected, then these entries might have fields that are very different from the expected ones (i.e., having a new field at the beginning). This can lead to broken results.
Do you want to remove |
|
Actually - I think your reasoning above is correct...someone might change the data layout in a way we don't expect - so simply skipping the MC/DC entry after emitting a message is probably the best approah. Lets leave this PR as is...I'll merge it tomorrow if nobody else comments between now and then. |
No description provided.