Fixes a think-o. No test case: The nlist and nlist64 data structures happen to
line up for this field, so there's no way to construct a failing test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360830
91177308-0d34-0410-b5e6-
96231b3b80d8
{
uint16_t NDesc = 0;
if (Obj.is64Bit())
- NDesc = Obj.getSymbolTableEntry(SymI->getRawDataRefImpl()).n_desc;
+ NDesc = Obj.getSymbol64TableEntry(SymI->getRawDataRefImpl()).n_desc;
else
NDesc = Obj.getSymbolTableEntry(SymI->getRawDataRefImpl()).n_desc;