According to the standard, for the .debug_names (the "dwarf accelerator tables):
If a subprogram or inlined subroutine is included, and has a DW_AT_linkage_name attribute, there will be an additional index entry for the linkage name.
For Swift we generate DW_structure_types with a linkage name and the verifier was incorrectly rejecting this. This patch fixes that. The test is the "reduced" debug info of the failing swift test on swift.org. If there's a way to generate a smaller test case I'm very much open to suggestions.