forked from OSchip/llvm-project
parent
ca3563ca73
commit
07b7ee4394
|
@ -62,8 +62,7 @@ static std::vector<Defined *> getSymbols() {
|
|||
static SymbolMapTy getSectionSyms(ArrayRef<Defined *> Syms) {
|
||||
SymbolMapTy Ret;
|
||||
for (Defined *S : Syms)
|
||||
if (auto *DR = dyn_cast<Defined>(S))
|
||||
Ret[DR->Section].push_back(S);
|
||||
Ret[S->Section].push_back(S);
|
||||
|
||||
// Sort symbols by address. We want to print out symbols in the
|
||||
// order in the output file rather than the order they appeared
|
||||
|
|
Loading…
Reference in New Issue