Searched refs:LDSection (Results 1 - 25 of 121) sorted by relevance

12345

/frameworks/compile/mclinker/include/mcld/LD/
H A DELFFileFormat.h12 #include "mcld/LD/LDSection.h"
210 LDSection& getNULLSection() {
215 const LDSection& getNULLSection() const {
220 LDSection& getGOT() {
225 const LDSection& getGOT() const {
230 LDSection& getPLT() {
235 const LDSection& getPLT() const {
240 LDSection& getRelDyn() {
245 const LDSection& getRelDyn() const {
250 LDSection
[all...]
H A DDebugString.h18 class LDSection;
30 static DebugString* Create(LDSection& pSection);
34 void merge(LDSection& pSection);
48 void setOutputSection(LDSection& pSection)
52 const LDSection* getSection() const { return m_pSection; }
53 LDSection* getSection() { return m_pSection; }
56 /// m_Section - the output LDSection of this .debug_str
57 LDSection* m_pSection;
H A DSectionSymbolSet.h18 class LDSection;
35 /// LDSection
36 bool add(LDSection& pOutSect, NamePool& pNamePool);
40 bool finalize(LDSection& pOutSect, SymbolTable& pSymTab, bool relocatable);
43 LDSymbol* get(const LDSection& pOutSect);
44 const LDSymbol* get(const LDSection& pOutSect) const;
47 /// sectCompare - hash compare function for LDSection*
49 bool operator()(const LDSection* X, const LDSection* Y) const {
54 /// SectPtrHash - hash function for LDSection*
[all...]
H A DLDFileFormat.h17 class LDSection;
62 LDSection& getText() {
67 const LDSection& getText() const {
72 LDSection& getData() {
77 const LDSection& getData() const {
82 LDSection& getBSS() {
87 const LDSection& getBSS() const {
92 LDSection& getReadOnly() {
97 const LDSection& getReadOnly() const {
104 LDSection* f_pTextSectio
[all...]
H A DEhFrameHdr.h18 class LDSection;
37 EhFrameHdr(LDSection& pEhFrameHdr, const LDSection& pEhFrame);
57 LDSection& m_EhFrameHdr;
60 const LDSection& m_EhFrame;
H A DGarbageCollection.h18 class LDSection;
28 typedef std::set<const LDSection*> SectionListTy;
29 typedef std::vector<const LDSection*> SectionVecTy;
39 void addReference(const LDSection& pFrom, const LDSection& pTo);
43 SectionListTy& getReachedList(const LDSection& pSection);
47 SectionListTy* findReachedList(const LDSection& pSection);
50 typedef std::map<const LDSection*, SectionListTy> ReachedSectionsTy;
H A DIdenticalCodeFolding.h20 class LDSection;
34 typedef llvm::MapVector<LDSection*, ObjectAndId> KeptSections;
40 FoldingCandidate(LDSection* pCode, LDSection* pReloc, Input* pInput)
50 LDSection* sect;
51 LDSection* reloc_sect;
H A DLDContext.h27 class LDSection;
34 typedef std::vector<LDSection*> SectionTable;
44 LDContext& appendSection(LDSection& pSection);
52 const LDSection* getSection(unsigned int pIdx) const;
53 LDSection* getSection(unsigned int pIdx);
55 const LDSection* getSection(const std::string& pName) const;
56 LDSection* getSection(const std::string& pName);
H A DRelocData.h27 class LDSection;
41 explicit RelocData(LDSection& pSection);
57 static RelocData* Create(LDSection& pSection);
63 const LDSection& getSection() const { return *m_pSection; }
64 LDSection& getSection() { return *m_pSection; }
97 LDSection* m_pSection;
H A DSectionData.h23 class LDSection;
33 explicit SectionData(LDSection& pSection);
48 static SectionData* Create(LDSection& pSection);
54 const LDSection& getSection() const { return *m_pSection; }
55 LDSection& getSection() { return *m_pSection; }
84 LDSection* m_pSection;
H A DELFObjectWriter.h20 class LDSection;
44 LDSection* section);
69 void emitShStrTab(const LDSection& pShStrTab,
73 void emitSectionData(const LDSection& pSection, MemoryRegion& pRegion) const;
80 const LDSection& pSection,
97 uint64_t getSectEntrySize(const LDSection& pSection) const;
100 uint64_t getSectLink(const LDSection& pSection,
104 uint64_t getSectInfo(const LDSection& pSection) const;
H A DELFSegment.h21 class LDSection;
28 typedef std::vector<LDSection*> SectionList;
53 LDSection* front() { return m_SectionList.front(); }
54 const LDSection* front() const { return m_SectionList.front(); }
55 LDSection* back() { return m_SectionList.back(); }
56 const LDSection* back() const { return m_SectionList.back(); }
96 iterator insert(iterator pPos, LDSection* pSection);
98 void append(LDSection* pSection);
/frameworks/compile/mclinker/lib/LD/
H A DLDSection.cpp1 //===- LDSection.cpp ------------------------------------------------------===//
9 #include "mcld/LD/LDSection.h"
17 typedef GCFactory<LDSection, MCLD_SECTIONS_PER_INPUT> SectionFactory;
22 // LDSection
24 LDSection::LDSection() function in class:mcld::LDSection
39 LDSection::LDSection(const std::string& pName, function in class:mcld::LDSection
59 LDSection::~LDSection() {
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DObjectBuilder.h22 class LDSection;
36 /// CreateSection - To create an output LDSection in mcld::Module.
41 /// This function creates a new LDSection and push the created LDSection into
44 /// To create an input LDSection in mcld::LDContext, use @ref
45 /// LDSection::Create().
49 /// @param [in] pName The given name. Returned LDSection used the changed name
51 LDSection* CreateSection(const std::string& pInputName,
65 LDSection* MergeSection(const Input& pInputFile, LDSection
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DPLT.cpp20 PLT::PLT(LDSection& pSection) : m_Section(pSection) {
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonGOTPLT.h18 class LDSection;
28 explicit HexagonGOTPLT(LDSection& pSection);
H A DHexagonGOT.cpp21 HexagonGOT::HexagonGOT(LDSection& pSection) : GOT(pSection) {
H A DHexagonGOT.h16 class LDSection;
34 explicit HexagonGOT(LDSection& pSection);
H A DHexagonLDBackend.h18 #include "mcld/LD/LDSection.h"
64 /// When writers get a LDSection whose kind is LDFileFormat::Target, writers
69 /// - LDSection.getSectionData can get the section data.
71 /// - backend can maintain its own map<LDSection, table> to get the table
72 /// from given LDSection.
74 /// @param pSection - the given LDSection
78 uint64_t emitSectionData(const LDSection& pSection,
122 unsigned int getTargetSectionOrder(const LDSection& pSectHdr) const;
128 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
184 LDSection* m_psdat
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOT.cpp21 X86_32GOT::X86_32GOT(LDSection& pSection) : GOT(pSection) {
34 X86_64GOT::X86_64GOT(LDSection& pSection) : GOT(pSection) {
H A DX86GOTPLT.h18 class LDSection;
28 explicit X86_32GOTPLT(LDSection& pSection);
45 explicit X86_64GOTPLT(LDSection& pSection);
H A DX86GOT.h16 class LDSection;
34 explicit X86_32GOT(LDSection& pSection);
56 explicit X86_64GOT(LDSection& pSection);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOTPLT.h18 class LDSection;
25 explicit MipsGOTPLT(LDSection& pSection);
/frameworks/compile/mclinker/unittests/
H A DFragmentTest.cpp13 #include "mcld/LD/LDSection.h"
38 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
48 LDSection::Destroy(test);
53 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
65 LDSection::Destroy(test);
H A DSectionDataTest.cpp13 #include "mcld/LD/LDSection.h"
39 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
45 LDSection::Destroy(test);
49 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
74 LDSection::Destroy(test);

Completed in 8286 milliseconds

12345