/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 94 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local 95 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol() 96 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol() 97 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol() 100 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol() 102 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol() 112 if (ELFSymbol->isUndefined()) { in HexagonMCEmitCommonSymbol() 124 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol() 132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol() 136 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext())); in HexagonMCEmitCommonSymbol() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 94 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local 95 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol() 96 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol() 97 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol() 100 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol() 102 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol() 112 if (ELFSymbol->isUndefined()) { in HexagonMCEmitCommonSymbol() 124 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol() 132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol() 136 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext())); in HexagonMCEmitCommonSymbol() [all …]
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 97 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local 98 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol() 99 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol() 100 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol() 103 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol() 105 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol() 125 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol() 133 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol() 137 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext())); in HexagonMCEmitCommonSymbol() 144 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitLocalCommonSymbol() local [all …]
|
/external/llvm-project/llvm/lib/InterfaceStub/ |
D | TBEHandler.cpp | 73 template <> struct MappingTraits<ELFSymbol> { 74 static void mapping(IO &IO, ELFSymbol &Symbol) { in mapping() 94 template <> struct CustomMappingTraits<std::set<ELFSymbol>> { 95 static void inputOne(IO &IO, StringRef Key, std::set<ELFSymbol> &Set) { in inputOne() 96 ELFSymbol Sym(Key.str()); in inputOne() 101 static void output(IO &IO, std::set<ELFSymbol> &Set) { in output() 103 IO.mapRequired(Sym.Name.c_str(), const_cast<ELFSymbol &>(Sym)); in output()
|
D | ELFObjHandler.cpp | 193 for (const ELFSymbol &Sym : Stub.Symbols) in ELFStubBuilder() 215 for (const ELFSymbol &Sym : Stub.Symbols) { in ELFStubBuilder() 526 static ELFSymbol createELFSym(StringRef SymName, in createELFSym() 528 ELFSymbol TargetSym{std::string(SymName)}; in createELFSym() 571 ELFSymbol Sym = createELFSym<ELFT>(*SymName, RawSym); in populateSymbols()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/ |
D | TBEHandler.cpp | 95 template <> struct MappingTraits<ELFSymbol> { 96 static void mapping(IO &IO, ELFSymbol &Symbol) { in mapping() 116 template <> struct CustomMappingTraits<std::set<ELFSymbol>> { 117 static void inputOne(IO &IO, StringRef Key, std::set<ELFSymbol> &Set) { in inputOne() 118 ELFSymbol Sym(Key.str()); in inputOne() 123 static void output(IO &IO, std::set<ELFSymbol> &Set) { in output() 125 IO.mapRequired(Sym.Name.c_str(), const_cast<ELFSymbol &>(Sym)); in output()
|
/external/llvm-project/llvm/include/llvm/InterfaceStub/ |
D | ELFStub.h | 37 struct ELFSymbol { struct 38 ELFSymbol(std::string SymbolName) : Name(SymbolName) {} in ELFSymbol() argument 45 bool operator<(const ELFSymbol &RHS) const { return Name < RHS.Name; } argument 57 std::set<ELFSymbol> Symbols;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/ELF/ |
D | ELFStub.h | 37 struct ELFSymbol { struct 38 ELFSymbol(std::string SymbolName) : Name(SymbolName) {} in ELFSymbol() argument 45 bool operator<(const ELFSymbol &RHS) const { argument 59 std::set<ELFSymbol> Symbols;
|
/external/llvm-project/llvm/unittests/InterfaceStub/ |
D | ELFYAMLTest.cpp | 78 ELFSymbol const &SymBar = *Iterator++; in TEST() 86 ELFSymbol const &SymBaz = *Iterator++; in TEST() 94 ELFSymbol const &SymFoo = *Iterator++; in TEST() 103 ELFSymbol const &SymNor = *Iterator++; in TEST() 111 ELFSymbol const &SymNot = *Iterator++; in TEST() 174 ELFSymbol SymFoo("foo"); in TEST() 181 ELFSymbol SymBar("bar"); in TEST() 187 ELFSymbol SymNor("nor"); in TEST() 193 ELFSymbol SymNot("not"); in TEST()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 251 ELFSymbol::ELFSymbol() { memset(this, 0, sizeof(ELFSymbol)); } in ELFSymbol() function in ELFSymbol 257 const char *ELFSymbol::bindingToCString(unsigned char binding) { in bindingToCString() 270 const char *ELFSymbol::typeToCString(unsigned char type) { in typeToCString() 287 const char *ELFSymbol::sectionIndexToCString( in sectionIndexToCString() 308 void ELFSymbol::Dump(lldb_private::Stream *s, uint32_t idx, in Dump() 319 bool ELFSymbol::Parse(const lldb_private::DataExtractor &data, in Parse()
|
D | ELFHeader.h | 224 struct ELFSymbol { struct 232 ELFSymbol(); argument
|
D | ObjectFileELF.cpp | 1946 ELFSymbol symbol; in ParseSymbols() 2425 ELFSymbol symbol; in ParsePLTRelocations()
|
/external/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCExpr.cpp | 207 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in fixELFSymbolsInTLSFixups() local 208 if (!ELFSymbol->isBindingSet()) { in fixELFSymbolsInTLSFixups() 209 ELFSymbol->setBinding(ELF::STB_GLOBAL); in fixELFSymbolsInTLSFixups() 210 ELFSymbol->setExternal(true); in fixELFSymbolsInTLSFixups()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCExpr.cpp | 207 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in fixELFSymbolsInTLSFixups() local 208 if (!ELFSymbol->isBindingSet()) { in fixELFSymbolsInTLSFixups() 209 ELFSymbol->setBinding(ELF::STB_GLOBAL); in fixELFSymbolsInTLSFixups() 210 ELFSymbol->setExternal(true); in fixELFSymbolsInTLSFixups()
|