[lld] r262590 - [ELF] - add support for relocations against local symbols when producing relocatable output.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 15:36:58 PST 2016


> +        // That can happen if creating relocatable output.
> +        if (Sym.getType() == STT_SECTION)
> +          SymName = Section->getSectionName();

This seems wrong. There no requirement on the symbol name. Why not use
the actual symbol name?


More information about the llvm-commits mailing list