summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-16 01:14:19 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-16 01:14:19 +0000
commit6e23e5a680ad0675b75c0264e1804c58a93eb2dc (patch)
tree43e719914bf8944e15bc0d90332d50013ff5bcfc /llvm/lib/MC/MachObjectWriter.cpp
parentd2b8fc1f3a178541e8972b4ee4ff35d7137c1913 (diff)
downloadbcm5719-llvm-6e23e5a680ad0675b75c0264e1804c58a93eb2dc.tar.gz
bcm5719-llvm-6e23e5a680ad0675b75c0264e1804c58a93eb2dc.zip
MC: Use MCSymbol in RelAndSymbol, NFC
Switch from `MCSymbolData` to `MCSymbol`. llvm-svn: 237502
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index 5866d8476cb..002aa3c705e 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -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);
OpenPOWER on IntegriCloud