We added strict dwarf support in D100826.
This is a suggestion from @probinson and @dblaikie
Make use of this flag for attribute generating.
We should also guard other DWARF info(tags, forms, loc expressions) generating under strict dwarf flag, but currently, there is no obvious way. Leave for later improvement.
Might be worth expanding the comment to describe the Attribute 0 case - "Attribute 0 is used when emitting form-encoded values in blocks, which don't have attributes (only forms) so we cannot detect their DWARF version compatibility here and assume they are compatible"