Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DObject.h193 void setPlainRelocationSymbolNum(unsigned SymbolNum, bool IsLittleEndian) { in setPlainRelocationSymbolNum()
194 assert(SymbolNum < (1 << 24) && "SymbolNum out of range"); in setPlainRelocationSymbolNum()
196 Info.r_word1 = (Info.r_word1 & ~0x00ffffff) | SymbolNum; in setPlainRelocationSymbolNum()
198 Info.r_word1 = (Info.r_word1 & ~0xffffff00) | (SymbolNum << 8); in setPlainRelocationSymbolNum()
H A DMachOReader.cpp227 const uint32_t SymbolNum = in setSymbolInRelocationInfo() local
230 Reloc.Symbol = O.SymTable.getSymbolByIndex(SymbolNum); in setSymbolInRelocationInfo()
234 assert(SymbolNum >= 1 && SymbolNum <= Sections.size() && in setSymbolInRelocationInfo()
236 Reloc.Sec = Sections[SymbolNum - 1]; in setSymbolInRelocationInfo()
H A DMachOWriter.cpp266 const uint32_t SymbolNum = RelocInfo.Extern in writeSections() local
269 RelocInfo.setPlainRelocationSymbolNum(SymbolNum, IsLittleEndian); in writeSections()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()