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

/frameworks/compile/mclinker/lib/LD/
H A DEhFrame.cpp1 //===- EhFrame.cpp --------------------------------------------------------===//
9 #include "mcld/LD/EhFrame.h"
26 typedef GCFactory<EhFrame, MCLD_SECTIONS_PER_INPUT> EhFrameFactory;
31 // EhFrame::Record
33 EhFrame::Record::Record(llvm::StringRef pRegion) : RegionFragment(pRegion) {
36 EhFrame::Record::~Record() {
41 // EhFrame::CIE
43 EhFrame::CIE::CIE(llvm::StringRef pRegion)
44 : EhFrame::Record(pRegion),
51 EhFrame
92 EhFrame::EhFrame() : m_pSection(NULL), m_pSectionData(NULL) { function in class:mcld::EhFrame
95 EhFrame::EhFrame(LDSection& pSection) function in class:mcld::EhFrame
[all...]
H A DEhFrameHdr.cpp11 #include "mcld/LD/EhFrame.h"
79 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,
169 pFDE.getOffset() + EhFrame::getDataStartOffset<32>();
183 EhFrame::getDataStartOffset<32>();
H A DEhFrameReader.cpp89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) {
165 bool EhFrameReader::addCIE(EhFrame& pEhFrame,
213 EhFrame::CIE* cie = new EhFrame::CIE(pRegion);
323 EhFrame::CIE* cie = new EhFrame::CIE(pRegion);
333 bool EhFrameReader::addFDE(EhFrame& pEhFrame,
344 EhFrame::CIEMap::iterator iter = pEhFrame.getCIEMap().find(cie_offset);
349 EhFrame::FDE* fde = new EhFrame
[all...]
H A DLDSection.cpp88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind());
98 assert(LDFileFormat::EhFrame == kind());
H A DSectionSymbolSet.cpp12 #include "mcld/LD/EhFrame.h"
75 case LDFileFormat::EhFrame:
76 if (EhFrame* ehframe = pOutSect.getEhFrame())
H A DELFObjectWriter.cpp21 #include "mcld/LD/EhFrame.h"
68 case LDFileFormat::EhFrame: {
99 case LDFileFormat::EhFrame:
388 case LDFileFormat::EhFrame:
402 EhFrame& pFrame,
407 for (EhFrame::cie_iterator i = pFrame.cie_begin(), e = pFrame.cie_end();
410 EhFrame::CIE& cie = **i;
411 for (EhFrame::fde_iterator fi = cie.begin(), fe = cie.end(); fi != fe;
413 EhFrame::FDE& fde = **fi;
414 if (fde.getRecordType() == EhFrame
[all...]
H A DAndroid.mk24 EhFrame.cpp \
H A DELFObjectReader.cpp15 #include "mcld/LD/EhFrame.h"
224 case LDFileFormat::EhFrame: {
225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section);
227 // We don't really parse EhFrame if this is a partial linking
H A DELFFileFormat.cpp186 LDFileFormat::EhFrame,
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h11 #include "mcld/LD/EhFrame.h"
40 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 DEhFrame.h1 //===- EhFrame.h ----------------------------------------------------------===//
30 /** \class EhFrame
31 * \brief EhFrame represents .eh_frame section
33 class EhFrame { class in namespace:mcld
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*
[all...]
H A DEhFrameHdr.h12 #include "mcld/LD/EhFrame.h"
52 uint32_t computePCBegin(const EhFrame::FDE& pFDE,
H A DLDSection.h23 class EhFrame;
148 // ------ EhFrame ------ //
149 const EhFrame* getEhFrame() const { return m_Data.eh_frame; }
150 EhFrame* getEhFrame() { return m_Data.eh_frame; }
152 void setEhFrame(EhFrame* pEhFrame) { m_Data.eh_frame = pEhFrame; }
177 EhFrame* eh_frame;
H A DELFObjectWriter.h18 class EhFrame;
76 EhFrame& pFrame,
H A DLDFileFormat.h35 EhFrame, enumerator in enum:mcld::LDFileFormat::Kind
/frameworks/compile/mclinker/include/mcld/
H A DIRBuilder.h22 #include "mcld/LD/EhFrame.h"
251 /// or if the pSection's type is not LDFileFormat::EhFrame, then an
253 static EhFrame* CreateEhFrame(LDSection& pSection);
320 /// AppendEhFrame - To append a fragment to a EhFrame.
328 /// @param pEhFrame [in, out] The EhFrame.
330 static uint64_t AppendEhFrame(Fragment& pFrag, EhFrame& pEhFrame);
332 /// AppendEhFrame - To append a FDE to the given EhFrame pEhFram.
342 static uint64_t AppendEhFrame(EhFrame::FDE& pFDE, EhFrame& pEhFrame);
344 /// AppendEhFrame - To append a CIE to the given EhFrame pEhFra
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp280 EhFrame* eh_frame = eh_sect->getEhFrame();
285 EhFrame::CIE* cie = new EhFrame::GeneratedCIE(cie_region);
286 EhFrame::FDE* fde = new EhFrame::GeneratedFDE(fde_region, *cie);
293 EhFrame::cie_iterator i = eh_frame->cie_begin();
294 for (EhFrame::cie_iterator e = eh_frame->cie_end(); i != e; ++i) {
295 EhFrame::CIE& exist_cie = **i;
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp14 #include "mcld/LD/EhFrame.h"
53 return LDFileFormat::EhFrame;
302 EhFrame* IRBuilder::CreateEhFrame(LDSection& pSection) {
305 EhFrame* eh_frame = EhFrame::Create(pSection);
373 /// AppendEhFrame - To append a fragment to EhFrame.
374 uint64_t IRBuilder::AppendEhFrame(Fragment& pFrag, EhFrame& pEhFrame) {
381 /// AppendEhFrame - To append a FDE to the given EhFrame pEhFram.
382 uint64_t IRBuilder::AppendEhFrame(EhFrame::FDE& pFDE, EhFrame
[all...]
H A DLinker.cpp309 EhFrame::Clear();
/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp18 #include "mcld/LD/EhFrame.h"
79 case LDFileFormat::EhFrame: {
80 EhFrame* eh_frame = NULL;
H A DObjectLinker.cpp368 case LDFileFormat::EhFrame: {
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp14 #include "mcld/LD/EhFrame.h"
82 case LDFileFormat::EhFrame:
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp20 #include "mcld/LD/EhFrame.h"
226 case LDFileFormat::EhFrame:
1388 case LDFileFormat::EhFrame:
2310 case LDFileFormat::EhFrame:

Completed in 2082 milliseconds