[PATCH] D28561: [ELF] - Move the addition of synthetics from addPredefinedSections()

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 07:16:55 PST 2017


George Rimar via Phabricator <reviews at reviews.llvm.org> writes:
> -# .shstrtab from the input object file is discarded.
> +# .shstrtab is discarded.
>  # RUN: echo "SECTIONS { \
>  # RUN:          /DISCARD/ : { *(.shstrtab) } }" > %t.script

This is a really odd script. What does gold and bfd do? Have you found
something like that in the wild? I am inclined to just error in cases
like this.


More information about the llvm-commits mailing list