We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fba85b commit f0944ccCopy full SHA for f0944cc
lld/ELF/BPSectionOrderer.cpp
@@ -79,7 +79,7 @@ DenseMap<const InputSectionBase *, int> elf::runBalancedPartitioning(
79
// Skip empty, discarded, ICF folded sections, .bss. Skipping ICF folded
80
// sections reduces duplicate detection work in BPSectionOrderer.
81
if (!sec || sec->size == 0 || !sec->isLive() || sec->repl != sec ||
82
- !orderer.secToSym.try_emplace(sec, d).second || !sec->content().data())
+ !sec->content().data() || !orderer.secToSym.try_emplace(sec, d).second)
83
return;
84
rootSymbolToSectionIdxs[CachedHashStringRef(
85
lld::utils::getRootSymbol(sym.getName()))]
0 commit comments