Skip to content

Commit 621a90d

Browse files
committed
fixup! [BOLT] Overwrite .eh_frame and .gcc_except_table
1 parent a9fad1f commit 621a90d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4377,6 +4377,7 @@ RewriteInstance::getOutputSections(ELFObjectFile<ELFT> *File,
43774377
BinarySection *BinSec = BC->getSectionForSectionRef(SecRef);
43784378
assert(BinSec && "Matching BinarySection should exist.");
43794379

4380+
// Exclude anonymous sections.
43804381
if (BinSec->isAnonymous())
43814382
continue;
43824383

0 commit comments

Comments
 (0)