HomeSort by relevance Sort by last modified time
    Searched refs:EhFrame (Results 1 - 22 of 22) sorted by null

  /frameworks/compile/mclinker/lib/LD/
EhFrame.cpp 1 //===- 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::CIE::~CIE()
    [all...]
EhFrameHdr.cpp 11 #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>();
EhFrameReader.cpp 89 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::FDE(pRegion, *iter->second)
    [all...]
LDSection.cpp 88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind());
98 assert(LDFileFormat::EhFrame == kind());
SectionSymbolSet.cpp 12 #include "mcld/LD/EhFrame.h"
75 case LDFileFormat::EhFrame:
76 if (EhFrame* ehframe = pOutSect.getEhFrame())
77 data = ehframe->getSectionData();
ELFObjectWriter.cpp 21 #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::RECORD_GENERATED)
    [all...]
ELFObjectReader.cpp 15 #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
ELFFileFormat.cpp 186 LDFileFormat::EhFrame,
  /frameworks/compile/mclinker/include/mcld/LD/
EhFrameReader.h 11 #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);
EhFrame.h 1 //===- EhFrame.h ----------------------------------------------------------===//
30 /** \class EhFrame
31 * \brief EhFrame represents .eh_frame section
33 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)
    [all...]
EhFrameHdr.h 12 #include "mcld/LD/EhFrame.h"
52 uint32_t computePCBegin(const EhFrame::FDE& pFDE,
LDSection.h 23 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;
ELFObjectWriter.h 18 class EhFrame;
76 EhFrame& pFrame,
LDFileFormat.h 35 EhFrame,
  /frameworks/compile/mclinker/include/mcld/
IRBuilder.h 22 #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 pEhFram
    [all...]
  /frameworks/compile/mclinker/lib/Target/X86/
X86LDBackend.cpp 280 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/
IRBuilder.cpp 14 #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& pEhFrame)
    [all...]
Linker.cpp 309 EhFrame::Clear();
  /frameworks/compile/mclinker/lib/Object/
ObjectBuilder.cpp 18 #include "mcld/LD/EhFrame.h"
79 case LDFileFormat::EhFrame: {
80 EhFrame* eh_frame = NULL;
ObjectLinker.cpp 368 case LDFileFormat::EhFrame: {
    [all...]
  /frameworks/compile/mclinker/lib/Fragment/
FragmentRef.cpp 14 #include "mcld/LD/EhFrame.h"
82 case LDFileFormat::EhFrame:
  /frameworks/compile/mclinker/lib/Target/
GNULDBackend.cpp 20 #include "mcld/LD/EhFrame.h"
226 case LDFileFormat::EhFrame:
    [all...]

Completed in 278 milliseconds