forked from OSchip/llvm-project
parent
fd89ed8ed2
commit
a156555b5e
|
@ -202,10 +202,7 @@ template <class ELFT> static void combineMergableSections() {
|
|||
template <class ELFT> static void combineEhFrameSections() {
|
||||
for (InputSectionBase *&S : InputSections) {
|
||||
EhInputSection *ES = dyn_cast<EhInputSection>(S);
|
||||
if (!ES)
|
||||
continue;
|
||||
|
||||
if (!ES->Live)
|
||||
if (!ES || !ES->Live)
|
||||
continue;
|
||||
|
||||
In<ELFT>::EhFrame->addSection(ES);
|
||||
|
|
Loading…
Reference in New Issue