summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-04-27 18:17:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-04-27 18:17:36 +0000
commitf1652d4c60291c20b153915cf334bf323cd82df5 (patch)
tree8bc13d8cec08f2ecbe1e31bcef9f6149ec6b3b73 /lld/ELF/InputSection.cpp
parentfbff2fafb3b169acba47de6c6154d5890c16a709 (diff)
downloadbcm5719-llvm-f1652d4c60291c20b153915cf334bf323cd82df5.tar.gz
bcm5719-llvm-f1652d4c60291c20b153915cf334bf323cd82df5.zip
Split .eh_frame sections in parellel.
We can now split them in the same spot we split merge sections. llvm-svn: 331064
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r--lld/ELF/InputSection.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 7b64621a146..9612c29cebf 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -836,10 +836,6 @@ static unsigned getReloc(IntTy Begin, IntTy Size, const ArrayRef<RelTy> &Rels,
// .eh_frame is a sequence of CIE or FDE records.
// This function splits an input section into records and returns them.
template <class ELFT> void EhInputSection::split() {
- // Early exit if already split.
- if (!Pieces.empty())
- return;
-
if (AreRelocsRela)
split<ELFT>(relas<ELFT>());
else
OpenPOWER on IntegriCloud