Home
last modified time | relevance | path

Searched refs:EhFrame (Results 1 – 23 of 23) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
DEhFrame.cpp26 typedef GCFactory<EhFrame, MCLD_SECTIONS_PER_INPUT> EhFrameFactory;
33 EhFrame::Record::Record(llvm::StringRef pRegion) : RegionFragment(pRegion) { in Record()
36 EhFrame::Record::~Record() { in ~Record()
43 EhFrame::CIE::CIE(llvm::StringRef pRegion) in CIE()
44 : EhFrame::Record(pRegion), in CIE()
51 EhFrame::CIE::~CIE() { in ~CIE()
57 EhFrame::FDE::FDE(llvm::StringRef pRegion, EhFrame::CIE& pCIE) in FDE()
58 : EhFrame::Record(pRegion), m_pCIE(&pCIE) { in FDE()
61 EhFrame::FDE::~FDE() { in ~FDE()
64 void EhFrame::FDE::setCIE(EhFrame::CIE& pCIE) { in setCIE()
[all …]
DEhFrameReader.cpp89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) { in read()
165 bool EhFrameReader::addCIE(EhFrame& pEhFrame, in addCIE()
213 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); in addCIE()
323 EhFrame::CIE* cie = new EhFrame::CIE(pRegion); in addCIE()
333 bool EhFrameReader::addFDE(EhFrame& pEhFrame, in addFDE()
344 EhFrame::CIEMap::iterator iter = pEhFrame.getCIEMap().find(cie_offset); in addFDE()
349 EhFrame::FDE* fde = new EhFrame::FDE(pRegion, *iter->second); in addFDE()
354 bool EhFrameReader::addTerm(EhFrame& pEhFrame, in addTerm()
360 bool EhFrameReader::reject(EhFrame& pEhFrame, in reject()
DEhFrameHdr.cpp79 for (EhFrame::const_cie_iterator i = m_EhFrame.getEhFrame()->cie_begin(), in emitOutput()
83 EhFrame::CIE& cie = **i; in emitOutput()
84 for (EhFrame::const_fde_iterator fi = cie.begin(), fe = cie.end(); in emitOutput()
87 EhFrame::FDE& fde = **fi; in emitOutput()
141 uint32_t EhFrameHdr::computePCBegin(const EhFrame::FDE& pFDE, in computePCBegin()
169 pFDE.getOffset() + EhFrame::getDataStartOffset<32>(); in computePCBegin()
183 EhFrame::getDataStartOffset<32>(); in computePCBegin()
DELFObjectWriter.cpp68 case LDFileFormat::EhFrame: { in writeSection()
99 case LDFileFormat::EhFrame: in writeSection()
388 case LDFileFormat::EhFrame: in emitSectionData()
402 EhFrame& pFrame, in emitEhFrame()
407 for (EhFrame::cie_iterator i = pFrame.cie_begin(), e = pFrame.cie_end(); in emitEhFrame()
410 EhFrame::CIE& cie = **i; in emitEhFrame()
411 for (EhFrame::fde_iterator fi = cie.begin(), fe = cie.end(); fi != fe; in emitEhFrame()
413 EhFrame::FDE& fde = **fi; in emitEhFrame()
414 if (fde.getRecordType() == EhFrame::RECORD_GENERATED) { in emitEhFrame()
421 EhFrame::getDataStartOffset<32>(); in emitEhFrame()
[all …]
DSectionSymbolSet.cpp75 case LDFileFormat::EhFrame: in finalize()
76 if (EhFrame* ehframe = pOutSect.getEhFrame()) in finalize()
DLDSection.cpp88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); in hasSectionData()
98 assert(LDFileFormat::EhFrame == kind()); in hasEhFrame()
DAndroid.bp27 "EhFrame.cpp",
DELFObjectReader.cpp224 case LDFileFormat::EhFrame: { in readSections()
225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections()
DELFFileFormat.cpp186 LDFileFormat::EhFrame, in initStdSections()
/frameworks/compile/mclinker/include/mcld/LD/
DEhFrame.h33 class EhFrame {
35 friend class Chunk<EhFrame, MCLD_SECTIONS_PER_INPUT>;
37 EhFrame();
38 explicit EhFrame(LDSection& pSection);
40 ~EhFrame();
169 static EhFrame* Create(LDSection& pSection);
171 static void Destroy(EhFrame*& pSection);
176 EhFrame& merge(const Input& pInput, EhFrame& pInFrame);
231 void removeAndUpdateCIEForFDE(EhFrame& pInFrame,
235 void moveInputFragments(EhFrame& pInFrame);
[all …]
DEhFrameReader.h40 bool read(Input& pInput, EhFrame& pEhFrame);
58 typedef bool (*Action)(EhFrame& pEhFrame,
69 static bool addCIE(EhFrame& pEhFrame,
73 static bool addFDE(EhFrame& pEhFrame,
77 static bool addTerm(EhFrame& pEhFrame,
81 static bool reject(EhFrame& pEhFrame,
87 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
DLDSection.h23 class EhFrame; variable
149 const EhFrame* getEhFrame() const { return m_Data.eh_frame; } in getEhFrame()
150 EhFrame* getEhFrame() { return m_Data.eh_frame; } in getEhFrame()
152 void setEhFrame(EhFrame* pEhFrame) { m_Data.eh_frame = pEhFrame; } in setEhFrame()
177 EhFrame* eh_frame;
DELFObjectWriter.h18 class EhFrame; variable
76 EhFrame& pFrame,
DEhFrameHdr.h52 uint32_t computePCBegin(const EhFrame::FDE& pFDE,
DLDFileFormat.h35 EhFrame, enumerator
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h253 static EhFrame* CreateEhFrame(LDSection& pSection);
330 static uint64_t AppendEhFrame(Fragment& pFrag, EhFrame& pEhFrame);
342 static uint64_t AppendEhFrame(EhFrame::FDE& pFDE, EhFrame& pEhFrame);
354 static uint64_t AppendEhFrame(EhFrame::CIE& pCIE, EhFrame& pEhFrame);
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.cpp280 EhFrame* eh_frame = eh_sect->getEhFrame(); in addEhFrameForPLT()
285 EhFrame::CIE* cie = new EhFrame::GeneratedCIE(cie_region); in addEhFrameForPLT()
286 EhFrame::FDE* fde = new EhFrame::GeneratedFDE(fde_region, *cie); in addEhFrameForPLT()
293 EhFrame::cie_iterator i = eh_frame->cie_begin(); in addEhFrameForPLT()
294 for (EhFrame::cie_iterator e = eh_frame->cie_end(); i != e; ++i) { in addEhFrameForPLT()
295 EhFrame::CIE& exist_cie = **i; in addEhFrameForPLT()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp53 return LDFileFormat::EhFrame; in GetELFSectionKind()
302 EhFrame* IRBuilder::CreateEhFrame(LDSection& pSection) { in CreateEhFrame()
305 EhFrame* eh_frame = EhFrame::Create(pSection); in CreateEhFrame()
374 uint64_t IRBuilder::AppendEhFrame(Fragment& pFrag, EhFrame& pEhFrame) { in AppendEhFrame()
382 uint64_t IRBuilder::AppendEhFrame(EhFrame::FDE& pFDE, EhFrame& pEhFrame) { in AppendEhFrame()
389 uint64_t IRBuilder::AppendEhFrame(EhFrame::CIE& pCIE, EhFrame& pEhFrame) { in AppendEhFrame()
DLinker.cpp309 EhFrame::Clear(); in reset()
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp79 case LDFileFormat::EhFrame: { in MergeSection()
80 EhFrame* eh_frame = NULL; in MergeSection()
DObjectLinker.cpp368 case LDFileFormat::EhFrame: { in mergeSections()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp82 case LDFileFormat::EhFrame: in Create()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp226 case LDFileFormat::EhFrame: in initStandardSymbols()
1388 case LDFileFormat::EhFrame: in getSectionOrder()
2310 case LDFileFormat::EhFrame: in placeOutputSections()