MC: Use MCSymbol in RelAndSymbol, NFC
Switch from `MCSymbolData` to `MCSymbol`. llvm-svn: 237502
This commit is contained in:
@@ -633,7 +633,7 @@ void MachObjectWriter::ComputeSymbolTable(
|
||||
continue;
|
||||
|
||||
// Set the Index and the IsExtern bit.
|
||||
unsigned Index = Rel.Sym->getIndex();
|
||||
unsigned Index = Rel.Sym->getData().getIndex();
|
||||
assert(isInt<24>(Index));
|
||||
if (IsLittleEndian)
|
||||
Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27);
|
||||
|
||||
Reference in New Issue
Block a user