Remove a workaround for an old GCC bug.
authorRui Ueyama <ruiu@google.com>
Wed, 11 Jul 2018 10:52:00 +0000 (10:52 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 11 Jul 2018 10:52:00 +0000 (10:52 +0000)
commitf51c853cf167046be0b658bc179e86df7ce22ee3
tree88f50d630062ae328e6e2b2e8b7891827289c5cc
parentf6ff75c4c26758ecd8bedcb1835dbf34361a32d2
Remove a workaround for an old GCC bug.

This workaround is for GCC 5.4.1. Without this workaround, lld will
produce larger .gdb_index sections for object files compiled with the
buggy version of the compiler.

Since it is not for correctness, and it affects only debug builds (since
you are generating .gdb_index sections), perhaps the hack shouldn't have been
added in the first place. At least, I think it is time to remove this hack.

Differential Revision: https://reviews.llvm.org/D49149

llvm-svn: 336788
lld/ELF/SyntheticSections.cpp
lld/test/ELF/gdb-index-dup-types.s [deleted file]