mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-09 22:24:37 +00:00
Move SymbolSize from MCSymbolData to MCSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238580 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -480,9 +480,9 @@ void ELFObjectWriter::writeSymbol(SymbolTableWriter &Writer,
|
||||
uint64_t Value = SymbolValue(*MSD.Symbol, Layout);
|
||||
uint64_t Size = 0;
|
||||
|
||||
const MCExpr *ESize = OrigData.getSize();
|
||||
const MCExpr *ESize = MSD.Symbol->getSize();
|
||||
if (!ESize && Base)
|
||||
ESize = BaseSD->getSize();
|
||||
ESize = Base->getSize();
|
||||
|
||||
if (ESize) {
|
||||
int64_t Res;
|
||||
|
Reference in New Issue
Block a user