File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -783,6 +783,7 @@ class XCOFFSymbolRef : public SymbolRef {
783
783
const XCOFFSymbolEntry32 *getSymbol32 () const {
784
784
return reinterpret_cast <const XCOFFSymbolEntry32 *>(getRawDataRefImpl ().p );
785
785
}
786
+
786
787
const XCOFFSymbolEntry64 *getSymbol64 () const {
787
788
return reinterpret_cast <const XCOFFSymbolEntry64 *>(getRawDataRefImpl ().p );
788
789
}
Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ llvm::object::computeSymbolSizes(const ObjectFile &O) {
60
60
}
61
61
62
62
if (const auto *E = dyn_cast<XCOFFObjectFile>(&O)) {
63
- auto Syms = E->symbols ();
64
- for (XCOFFSymbolRef Sym : Syms)
63
+ for (XCOFFSymbolRef Sym : E->symbols ())
65
64
Ret.push_back ({Sym, Sym.getSize ()});
66
65
return Ret;
67
66
}
You can’t perform that action at this time.
0 commit comments