Home
last modified time | relevance | path

Searched refs:SymRef (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DReader.cpp92 COFFSymbolRef SymRef = *SymOrErr; in readSymbols() local
99 *reinterpret_cast<const coff_symbol32 *>(SymRef.getRawPtr())); in readSymbols()
102 *reinterpret_cast<const coff_symbol16 *>(SymRef.getRawPtr())); in readSymbols()
103 auto NameOrErr = COFFObj.getSymbolName(SymRef); in readSymbols()
108 ArrayRef<uint8_t> AuxData = COFFObj.getSymbolAuxData(SymRef); in readSymbols()
110 assert(AuxData.size() == SymSize * SymRef.getNumberOfAuxSymbols()); in readSymbols()
117 if (SymRef.isFileRecord()) in readSymbols()
122 for (size_t I = 0; I < SymRef.getNumberOfAuxSymbols(); I++) in readSymbols()
126 if (SymRef.getSectionNumber() <= in readSymbols()
128 Sym.TargetSectionId = SymRef.getSectionNumber(); in readSymbols()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF_x86_64.cpp280 for (auto SymRef : *Symbols) { in createNormalizedSymbols()
283 if (auto NameOrErr = SymRef.getName(*StringTable)) in createNormalizedSymbols()
294 dbgs() << ": value = " << formatv("{0:x16}", SymRef.getValue()) in createNormalizedSymbols()
295 << ", type = " << formatv("{0:x2}", SymRef.getType()) in createNormalizedSymbols()
296 << ", binding = " << SymRef.getBinding() in createNormalizedSymbols()
297 << ", size =" << SymRef.st_size in createNormalizedSymbols()
298 << ", info =" << SymRef.st_info; in createNormalizedSymbols()
491 for (auto SymRef : *Symbols) { in graphifyRegularSymbols()
493 auto Type = SymRef.getType(); in graphifyRegularSymbols()
506 auto Name = SymRef.getName(*StringTable); in graphifyRegularSymbols()
[all …]
DMachOLinkGraphBuilder.cpp229 for (auto &SymRef : Obj.symbols()) { in createNormalizedSymbols() local
231 unsigned SymbolIndex = Obj.getSymbolIndex(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
240 Obj.getSymbol64TableEntry(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
248 Obj.getSymbolTableEntry(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
263 if (auto NameOrErr = SymRef.getName()) in createNormalizedSymbols()
/external/llvm-project/llvm/tools/llvm-objdump/
DXCOFFDump.cpp49 XCOFFSymbolRef SymRef(Sym.getRawDataRefImpl(), Obj); in getXCOFFSymbolCsectSMC() local
51 if (SymRef.hasCsectAuxEnt()) in getXCOFFSymbolCsectSMC()
52 return SymRef.getXCOFFCsectAuxEnt32()->StorageMappingClass; in getXCOFFSymbolCsectSMC()
59 XCOFFSymbolRef SymRef(Sym.getRawDataRefImpl(), Obj); in isLabel() local
61 if (SymRef.hasCsectAuxEnt()) in isLabel()
62 return SymRef.getXCOFFCsectAuxEnt32()->isLabel(); in isLabel()
/external/llvm-project/llvm/lib/MC/
DConstantPools.cpp51 const auto SymRef = MCSymbolRefExpr::create(CPEntryLabel, Context); in addEntry() local
53 CachedEntries[C->getValue()] = SymRef; in addEntry()
54 return SymRef; in addEntry()
DWinCOFFObjectWriter.cpp350 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local
352 if (!SymRef) in getLinkedSymbol()
355 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()
DWasmObjectWriter.cpp608 &SymRef = DataLocations[RelEntry.Symbol]; in getProvisionalValue() local
611 return Segment.Offset + BaseRef.Offset + SymRef.Offset + RelEntry.Addend; in getProvisionalValue()
1779 auto *SymRef = dyn_cast<MCSymbolRefExpr>(Expr); in writeOneObject() local
1780 if (!SymRef) in writeOneObject()
1782 const auto &TargetSym = cast<const MCSymbolWasm>(SymRef->getSymbol()); in writeOneObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DConstantPools.cpp51 const auto SymRef = MCSymbolRefExpr::create(CPEntryLabel, Context); in addEntry() local
53 CachedEntries[C->getValue()] = SymRef; in addEntry()
54 return SymRef; in addEntry()
DWinCOFFObjectWriter.cpp342 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local
344 if (!SymRef) in getLinkedSymbol()
347 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()
DWasmObjectWriter.cpp1563 auto *SymRef = dyn_cast<MCSymbolRefExpr>(Expr); in writeObject() local
1564 if (!SymRef) in writeObject()
1566 const auto &TargetSym = cast<const MCSymbolWasm>(SymRef->getSymbol()); in writeObject()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp131 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
132 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp122 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
123 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp131 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
132 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
DVEMCExpr.cpp199 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
200 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp184 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
185 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp185 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
186 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.cpp206 for (auto &SymRef : Obj.symbols()) { in createNormalizedSymbols() local
208 unsigned SymbolIndex = Obj.getSymbolIndex(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
217 Obj.getSymbol64TableEntry(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
225 Obj.getSymbolTableEntry(SymRef.getRawDataRefImpl()); in createNormalizedSymbols()
240 if (auto NameOrErr = SymRef.getName()) in createNormalizedSymbols()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp240 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
241 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp225 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
226 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp240 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
241 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp182 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
183 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp185 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
186 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp185 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() local
186 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFObjectWriter.cpp99 if (const MCSymbolRefExpr *SymRef = Target.getSymA()) { in GetRelocTypeInner() local
102 if (SymRef->getSymbol().getName() == "_GLOBAL_OFFSET_TABLE_") in GetRelocTypeInner()
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp359 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local
361 if (!SymRef) in getLinkedSymbol()
364 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()

12