Simplify Repl handling.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Apr 2018 17:26:50 +0000 (17:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Apr 2018 17:26:50 +0000 (17:26 +0000)
commitf4d6e8caeafdcf8526b9fe321961562d93d6614c
treee115499a2ac9f941c9519453eaa1f4cb03dce5f0
parentfbee8574ab2e0656229bbb7ccd220ae22e95f8d9
Simplify Repl handling.

Now that we don't ICF synthetic sections, we can go back to the old
logic on whose responsibility it is to check Repl.

The idea is that Sec->something() will not check Repl. It is the
responsibility of the caller to find the correct Sec.

llvm-svn: 330346
lld/ELF/InputSection.cpp
lld/ELF/Symbols.cpp