/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | Reader.cpp | 92 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/ |
D | ELF_x86_64.cpp | 280 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 …]
|
D | MachOLinkGraphBuilder.cpp | 229 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/ |
D | XCOFFDump.cpp | 49 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/ |
D | ConstantPools.cpp | 51 const auto SymRef = MCSymbolRefExpr::create(CPEntryLabel, Context); in addEntry() local 53 CachedEntries[C->getValue()] = SymRef; in addEntry() 54 return SymRef; in addEntry()
|
D | WinCOFFObjectWriter.cpp | 350 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local 352 if (!SymRef) in getLinkedSymbol() 355 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()
|
D | WasmObjectWriter.cpp | 608 &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/ |
D | ConstantPools.cpp | 51 const auto SymRef = MCSymbolRefExpr::create(CPEntryLabel, Context); in addEntry() local 53 CachedEntries[C->getValue()] = SymRef; in addEntry() 54 return SymRef; in addEntry()
|
D | WinCOFFObjectWriter.cpp | 342 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local 344 if (!SymRef) in getLinkedSymbol() 347 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()
|
D | WasmObjectWriter.cpp | 1563 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/ |
D | AArch64MCExpr.cpp | 131 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/ |
D | AArch64MCExpr.cpp | 122 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/ |
D | AArch64MCExpr.cpp | 131 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/ |
D | VEMCExpr.cpp | 199 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/ |
D | RISCVMCExpr.cpp | 184 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/ |
D | RISCVMCExpr.cpp | 185 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/ |
D | MachOLinkGraphBuilder.cpp | 206 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/ |
D | MipsMCExpr.cpp | 240 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/ |
D | MipsMCExpr.cpp | 225 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/ |
D | MipsMCExpr.cpp | 240 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/ |
D | SparcMCExpr.cpp | 182 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/ |
D | SparcMCExpr.cpp | 185 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/ |
D | SparcMCExpr.cpp | 185 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/ |
D | ARMELFObjectWriter.cpp | 99 if (const MCSymbolRefExpr *SymRef = Target.getSymA()) { in GetRelocTypeInner() local 102 if (SymRef->getSymbol().getName() == "_GLOBAL_OFFSET_TABLE_") in GetRelocTypeInner()
|
/external/llvm/lib/MC/ |
D | WinCOFFObjectWriter.cpp | 359 const MCSymbolRefExpr *SymRef = in getLinkedSymbol() local 361 if (!SymRef) in getLinkedSymbol() 364 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol()
|