||No DW_FORM_strp in .dwo files
Section F.1, pg 393
The top paragraph of p.393 reads:
In a .dwo file, referring to a string using DW_FORM_strp is valid, but such use
results in a file that cannot be incorporated into a package file (which involves
Actually my understanding is that DW_FORM_strp is not allowed at all in a .dwo file.
This is not stated explicitly, but a .dwo file cannot have relocations, and so can't
use any form that requires a relocation.
See section 22.214.171.124, p.189, paragraph starting at line 6:
Split DWARF object files do not get linked with any other files, therefore
references between sections must not make use of normal object file relocation
information. As a result, symbolic references within or between sections are not
This doesn't say "forms that use relocations cannot be used in a .dwo file" but
it comes pretty close.
- Remove the first paragraph at the top of p.393
- Add to the end of the paragraph on p.189 line 6:
Therefore, all forms using relocations (as described in section 7.3.1)
may not be used in a split DWARF object file.