Home
last modified time | relevance | path

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

/aosp12/frameworks/compile/mclinker/lib/LD/
H A DEhFrame.cpp57 EhFrame::FDE::FDE(llvm::StringRef pRegion, EhFrame::CIE& pCIE) in FDE()
64 void EhFrame::FDE::setCIE(EhFrame::CIE& pCIE) { in setCIE()
92 EhFrame::EhFrame() : m_pSection(NULL), m_pSectionData(NULL) { in EhFrame() function in mcld::EhFrame
95 EhFrame::EhFrame(LDSection& pSection) in EhFrame() function in mcld::EhFrame
100 EhFrame::~EhFrame() { in ~EhFrame()
103 EhFrame* EhFrame::Create(LDSection& pSection) { in Create()
109 void EhFrame::Destroy(EhFrame*& pSection) { in Destroy()
139 void EhFrame::addCIE(EhFrame::CIE& pCIE, bool pAlsoAddFragment) { in addCIE()
160 EhFrame& EhFrame::merge(const Input& pInput, EhFrame& pFrame) { in merge()
295 void EhFrame::removeAndUpdateCIEForFDE(EhFrame& pInFrame, in removeAndUpdateCIEForFDE()
[all …]
H A DEhFrameReader.cpp89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) {
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()
H A DEhFrameHdr.cpp79 for (EhFrame::const_cie_iterator i = m_EhFrame.getEhFrame()->cie_begin(),
83 EhFrame::CIE& cie = **i;
84 for (EhFrame::const_fde_iterator fi = cie.begin(), fe = cie.end();
87 EhFrame::FDE& fde = **fi;
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()
H A DELFObjectWriter.cpp68 case LDFileFormat::EhFrame: { in writeSection()
99 case LDFileFormat::EhFrame: in writeSection()
388 case LDFileFormat::EhFrame: in emitSectionData()
402 EhFrame& pFrame, in emitEhFrame()
410 EhFrame::CIE& cie = **i; in emitEhFrame()
413 EhFrame::FDE& fde = **fi; in emitEhFrame()
414 if (fde.getRecordType() == EhFrame::RECORD_GENERATED) { in emitEhFrame()
421 EhFrame::getDataStartOffset<32>(); in emitEhFrame()
426 EhFrame::getDataStartOffset<32>(), in emitEhFrame()
431 EhFrame::getDataStartOffset<32>() + 4, in emitEhFrame()
[all …]
H A DSectionSymbolSet.cpp75 case LDFileFormat::EhFrame: in finalize()
76 if (EhFrame* ehframe = pOutSect.getEhFrame()) in finalize()
H A DLDSection.cpp88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); in hasSectionData()
98 assert(LDFileFormat::EhFrame == kind()); in hasEhFrame()
H A DELFObjectReader.cpp224 case LDFileFormat::EhFrame: { in readSections()
225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections()
H A DAndroid.bp36 "EhFrame.cpp",
H A DELFFileFormat.cpp186 LDFileFormat::EhFrame, in initStdSections()
/aosp12/frameworks/compile/mclinker/include/mcld/LD/
H A 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);
235 void moveInputFragments(EhFrame& pInFrame);
254 DISALLOW_COPY_AND_ASSIGN(EhFrame);
[all …]
H A 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);
H A 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;
H A DELFObjectWriter.h18 class EhFrame; variable
76 EhFrame& pFrame,
H A DEhFrameHdr.h52 uint32_t computePCBegin(const EhFrame::FDE& pFDE,
H A DLDFileFormat.h35 EhFrame, enumerator
/aosp12/frameworks/compile/mclinker/include/mcld/
H A 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);
/aosp12/frameworks/compile/mclinker/lib/Target/X86/
H A 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()
/aosp12/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp53 return LDFileFormat::EhFrame; in GetELFSectionKind()
303 EhFrame* IRBuilder::CreateEhFrame(LDSection& pSection) { in CreateEhFrame()
306 EhFrame* eh_frame = EhFrame::Create(pSection); in CreateEhFrame()
375 uint64_t IRBuilder::AppendEhFrame(Fragment& pFrag, EhFrame& pEhFrame) { in AppendEhFrame()
383 uint64_t IRBuilder::AppendEhFrame(EhFrame::FDE& pFDE, EhFrame& pEhFrame) { in AppendEhFrame()
390 uint64_t IRBuilder::AppendEhFrame(EhFrame::CIE& pCIE, EhFrame& pEhFrame) { in AppendEhFrame()
H A DLinker.cpp309 EhFrame::Clear(); in reset()
/aosp12/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp79 case LDFileFormat::EhFrame: { in MergeSection()
80 EhFrame* eh_frame = NULL; in MergeSection()
H A DObjectLinker.cpp368 case LDFileFormat::EhFrame: { in mergeSections()
/aosp12/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp82 case LDFileFormat::EhFrame: in Create()
/aosp12/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp226 case LDFileFormat::EhFrame: in initStandardSymbols()
1388 case LDFileFormat::EhFrame: in getSectionOrder()
2310 case LDFileFormat::EhFrame: in placeOutputSections()