Home
last modified time | relevance | path

Searched refs:ELFSymbol (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp95 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local
96 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol()
97 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol()
98 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol()
101 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol()
103 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol()
113 if (ELFSymbol->isUndefined()) { 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()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp97 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp208 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in fixELFSymbolsInTLSFixups() local
209 if (!ELFSymbol->isBindingSet()) { in fixELFSymbolsInTLSFixups()
210 ELFSymbol->setBinding(ELF::STB_GLOBAL); in fixELFSymbolsInTLSFixups()
211 ELFSymbol->setExternal(true); in fixELFSymbolsInTLSFixups()
/external/v8/src/
Dgdb-jit.cc750 class ELFSymbol BASE_EMBEDDED {
770 ELFSymbol(const char* name, in ELFSymbol() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
870 Writer::Slot<ELFSymbol::SerializedLayout> symbols = in WriteBody()
871 w->CreateSlotsHere<ELFSymbol::SerializedLayout>( in WriteBody()
880 symbols.at(0).set(ELFSymbol::SerializedLayout(0, in WriteBody()
883 ELFSymbol::BIND_LOCAL, in WriteBody()
884 ELFSymbol::TYPE_NOTYPE, in WriteBody()
893 void Add(const ELFSymbol& symbol) { in Add()
894 if (symbol.binding() == ELFSymbol::BIND_LOCAL) { in Add()
907 header->entry_size = sizeof(ELFSymbol::SerializedLayout); in PopulateHeader()
[all …]