Without this we would have multiple relocations pointing to symbols with the same name: the empty string. There was no way for yaml2obj to be able to handle that. A more general solution would be to unique symbol names in a similar way to how we unique section names. In practice I think this covers all common cases and is a bit more user friendly than using names like sym1, sym2, sym3, etc. llvm-svn: 312603 |
||
|---|---|---|
| .. | ||
| archive-ir-asm.ll | ||
| archive-symbol-table.s | ||
| asm-lazy-reference.ll | ||
| irsymtab-asm.ll | ||
| irsymtab-bad-alias.ll | ||
| irsymtab.ll | ||
| lit.local.cfg | ||
| macho-text-sections.test | ||
| nm-bitcodeweak.test | ||
| nm-coff.s | ||
| nm-ir.ll | ||
| nm-macho.s | ||
| nm-print-size.s | ||
| nm-undefinedweak.test | ||
| no-start-symbol.test | ||
| obj2yaml-dup-section-name.s | ||
| obj2yaml-dup-symbol-name.s | ||
| objdump-disassembly-inline-relocations.test | ||
| objdump-label.test | ||
| objdump-trivial-object.test | ||
| yaml-elf-x86-rel-broken.yaml | ||
| yaml2obj-elf-x86-rel.yaml | ||