HomeSort by relevance Sort by last modified time
    Searched refs:Symb (Results 1 - 14 of 14) sorted by null

  /external/llvm/include/llvm/Object/
IRObjectFile.h 33 void moveSymbolNext(DataRefImpl &Symb) const override;
35 DataRefImpl Symb) const override;
36 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
37 const GlobalValue *getSymbolGV(DataRefImpl Symb) const;
ELFObjectFile.h 59 void moveSymbolNext(DataRefImpl &Symb) const override;
60 std::error_code getSymbolName(DataRefImpl Symb,
62 std::error_code getSymbolAddress(DataRefImpl Symb,
64 std::error_code getSymbolAlignment(DataRefImpl Symb,
66 std::error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const override;
67 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
68 std::error_code getSymbolType(DataRefImpl Symb,
70 std::error_code getSymbolSection(DataRefImpl Symb,
97 std::error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb,
129 Elf_Sym_Iter toELFSymIter(DataRefImpl Symb) const
241 const Elf_Sym *symb = getSymbol(Symb); local
701 const Elf_Sym *symb = local
    [all...]
MachO.h 62 void moveSymbolNext(DataRefImpl &Symb) const override;
63 std::error_code getSymbolName(DataRefImpl Symb,
67 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const;
69 std::error_code getSymbolAddress(DataRefImpl Symb,
71 std::error_code getSymbolAlignment(DataRefImpl Symb,
73 std::error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const override;
74 std::error_code getSymbolType(DataRefImpl Symb,
76 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
77 std::error_code getSymbolSection(DataRefImpl Symb,
99 std::error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb,
    [all...]
SymbolicFile.h 52 content_iterator(content_type symb) : Current(symb) {}
121 virtual void moveSymbolNext(DataRefImpl &Symb) const = 0;
124 DataRefImpl Symb) const = 0;
126 virtual uint32_t getSymbolFlags(DataRefImpl Symb) const = 0;
COFF.h 358 const coff_symbol *toSymb(DataRefImpl Symb) const;
367 void moveSymbolNext(DataRefImpl &Symb) const override;
368 std::error_code getSymbolName(DataRefImpl Symb,
370 std::error_code getSymbolAddress(DataRefImpl Symb,
372 std::error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const override;
373 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
374 std::error_code getSymbolType(DataRefImpl Symb,
376 std::error_code getSymbolSection(DataRefImpl Symb,
397 std::error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb,
ObjectFile.h 226 virtual std::error_code getSymbolName(DataRefImpl Symb,
229 DataRefImpl Symb) const override;
230 virtual std::error_code getSymbolAddress(DataRefImpl Symb,
232 virtual std::error_code getSymbolAlignment(DataRefImpl Symb,
234 virtual std::error_code getSymbolSize(DataRefImpl Symb,
236 virtual std::error_code getSymbolType(DataRefImpl Symb,
238 virtual std::error_code getSymbolSection(DataRefImpl Symb,
267 DataRefImpl Symb,
ELF.h 308 const Elf_Sym *Symb,
404 ELF::Elf64_Word getSymbolTableIndex(const Elf_Sym *symb) const;
406 const Elf_Shdr *getSection(const Elf_Sym *symb) const;
412 /// \brief Get the name of \p Symb.
413 /// \param SymTab The symbol table section \p Symb is contained in.
414 /// \param Symb The symbol to get the name of.
419 const Elf_Sym *Symb) const;
515 ELF::Elf64_Word ELFFile<ELFT>::getSymbolTableIndex(const Elf_Sym *symb) const {
516 if (symb->st_shndx == ELF::SHN_XINDEX)
517 return ExtendedSymbolTable.lookup(symb);
    [all...]
  /external/llvm/lib/Object/
IRObjectFile.cpp 122 static const GlobalValue *getGV(DataRefImpl &Symb) {
123 if ((Symb.p & 3) == 3)
126 return reinterpret_cast<GlobalValue*>(Symb.p & ~uintptr_t(3));
150 static unsigned getAsmSymIndex(DataRefImpl Symb) {
151 assert((Symb.p & uintptr_t(3)) == 3);
152 uintptr_t Index = Symb.p & ~uintptr_t(3);
157 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const {
158 const GlobalValue *GV = getGV(Symb);
161 switch (Symb.p & 3) {
181 unsigned Index = getAsmSymIndex(Symb);
    [all...]
COFFObjectFile.cpp 128 const coff_symbol *Symb = toSymb(Ref);
129 Symb += 1 + Symb->NumberOfAuxSymbols;
130 Ref.p = reinterpret_cast<uintptr_t>(Symb);
135 const coff_symbol *Symb = toSymb(Ref);
136 return getSymbolName(Symb, Result);
141 const coff_symbol *Symb = toSymb(Ref);
143 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
146 if (Symb->SectionNumber == COFF::IMAGE_SYM_UNDEFINED)
149 Result = Section->VirtualAddress + Symb->Value
    [all...]
ObjectFile.cpp 30 DataRefImpl Symb) const {
32 if (std::error_code EC = getSymbolName(Symb, Name))
MachOObjectFile.cpp 467 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const {
471 Symb.p += SymbolTableEntrySize;
474 std::error_code MachOObjectFile::getSymbolName(DataRefImpl Symb,
477 nlist_base Entry = getSymbolTableEntryBase(this, Symb);
485 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb,
490 MachO::nlist_64 Entry = getSymbol64TableEntry(Symb);
495 MachO::nlist Entry = getSymbolTableEntry(Symb);
507 std::error_code MachOObjectFile::getSymbolAddress(DataRefImpl Symb,
510 MachO::nlist_64 Entry = getSymbol64TableEntry(Symb);
517 MachO::nlist Entry = getSymbolTableEntry(Symb);
    [all...]
  /external/llvm/tools/llvm-nm/
llvm-nm.cpp 167 DataRefImpl Symb;
277 STE_64 = MachO->getSymbol64TableEntry(I->Symb);
285 STE = MachO->getSymbolTableEntry(I->Symb);
329 MachO->getSymbolSection(I->Symb, Sec);
388 if (MachO->getIndirectName(I->Symb, IndirectName))
512 DataRefImpl Symb = I->getRawDataRefImpl();
513 const Elf_Sym *ESym = Obj.getSymbol(Symb);
552 const coff_symbol *Symb = Obj.getCOFFSymbol(*I);
569 if (!COFF::isReservedSectionNumber(Symb->SectionNumber)) {
577 switch (Symb->SectionNumber)
    [all...]
  /external/llvm/lib/MC/
WinCOFFObjectWriter.cpp 83 COFFSymbol *Symb;
85 COFFRelocation() : Symb(nullptr) {}
724 const MCSymbolRefExpr *SymB = Target.getSymB();
727 if (SymB) {
728 const MCSymbol *B = &SymB->getSymbol();
751 // In the case where we have SymbA and SymB, we just need to store the delta
767 Reloc.Symb = coff_symbol->Section->Symbol;
771 Reloc.Symb = coff_symbol;
773 ++Reloc.Symb->Relocations;
937 assert(Relocation.Symb->Index != -1)
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfUnit.cpp 223 MCSymbol *Symb = DU->getStringPool().getSymbol(*Asm, String);
226 Value = new (DIEValueAllocator) DIELabel(Symb);
229 Value = new (DIEValueAllocator) DIEDelta(Symb, StringPool);
    [all...]

Completed in 2456 milliseconds