Home
last modified time | relevance | path

Searched refs:SymbolNum (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.h196 void setPlainRelocationSymbolNum(unsigned SymbolNum, bool IsLittleEndian) { in setPlainRelocationSymbolNum()
197 assert(SymbolNum < (1 << 24) && "SymbolNum out of range"); in setPlainRelocationSymbolNum()
199 Info.r_word1 = (Info.r_word1 & ~0x00ffffff) | SymbolNum; in setPlainRelocationSymbolNum()
201 Info.r_word1 = (Info.r_word1 & ~0xffffff00) | (SymbolNum << 8); in setPlainRelocationSymbolNum()
H A DMachOReader.cpp230 const uint32_t SymbolNum = in setSymbolInRelocationInfo() local
233 Reloc.Symbol = O.SymTable.getSymbolByIndex(SymbolNum); in setSymbolInRelocationInfo()
237 assert(SymbolNum >= 1 && SymbolNum <= Sections.size() && in setSymbolInRelocationInfo()
239 Reloc.Sec = Sections[SymbolNum - 1]; in setSymbolInRelocationInfo()
H A DMachOWriter.cpp275 const uint32_t SymbolNum = RelocInfo.Extern in writeSections() local
278 RelocInfo.setPlainRelocationSymbolNum(SymbolNum, IsLittleEndian); in writeSections()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h240 ELFSymbolRef toSymbolRef(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toSymbolRef() argument
241 return ELFSymbolRef({toDRI(SymTable, SymbolNum), this}); in toSymbolRef()
311 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI() argument
332 DRI.d.b = SymbolNum; in toDRI()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp2766 unsigned SymbolNum = info->O->getPlainRelocationSymbolNum(RENext); in SymbolizerGetOpInfo() local
2770 symbol_iterator RelocSymNext = info->O->getSymbolByIndex(SymbolNum); in SymbolizerGetOpInfo()