/frameworks/compile/mclinker/lib/LD/ |
D | ELFFileFormat.cpp | 70 LDFileFormat::TEXT, in initStdSections() 75 pBuilder.CreateSection("", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); in initStdSections() 77 LDFileFormat::TEXT, in initStdSections() 84 LDFileFormat::BSS, in initStdSections() 89 ".comment", LDFileFormat::MetaData, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); in initStdSections() 92 LDFileFormat::DATA, in initStdSections() 97 LDFileFormat::DATA, in initStdSections() 102 ".debug", LDFileFormat::Debug, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); in initStdSections() 105 LDFileFormat::TEXT, in initStdSections() 111 LDFileFormat::DATA, in initStdSections() [all …]
|
D | ELFObjectReader.cpp | 119 case LDFileFormat::Group: { in readSections() 146 LDFileFormat::Ignore); in readSections() 154 case LDFileFormat::LinkOnce: { in readSections() 162 (*section)->setKind(LDFileFormat::Debug); in readSections() 164 (*section)->setKind(LDFileFormat::Ignore); in readSections() 172 (*section)->setKind(LDFileFormat::TEXT); in readSections() 174 (*section)->setKind(LDFileFormat::DATA); in readSections() 180 (*section)->setKind(LDFileFormat::Ignore); in readSections() 185 case LDFileFormat::Relocation: { in readSections() 189 if (link_sect == NULL || link_sect->kind() == LDFileFormat::Ignore) { in readSections() [all …]
|
D | ELFExecFileFormat.cpp | 21 LDFileFormat::NamePool, in initObjectFormat() 26 LDFileFormat::NamePool, in initObjectFormat() 31 LDFileFormat::Note, in initObjectFormat() 36 LDFileFormat::NamePool, in initObjectFormat() 42 LDFileFormat::NamePool, in initObjectFormat() 47 LDFileFormat::Relocation, in initObjectFormat() 52 LDFileFormat::Relocation, in initObjectFormat() 57 LDFileFormat::Relocation, in initObjectFormat() 62 LDFileFormat::Relocation, in initObjectFormat() 67 LDFileFormat::Target, in initObjectFormat() [all …]
|
D | ELFDynObjFileFormat.cpp | 20 LDFileFormat::NamePool, in initObjectFormat() 25 LDFileFormat::NamePool, in initObjectFormat() 30 LDFileFormat::Note, in initObjectFormat() 35 LDFileFormat::NamePool, in initObjectFormat() 41 LDFileFormat::NamePool, in initObjectFormat() 46 LDFileFormat::Relocation, in initObjectFormat() 51 LDFileFormat::Relocation, in initObjectFormat() 56 LDFileFormat::Relocation, in initObjectFormat() 61 LDFileFormat::Relocation, in initObjectFormat() 66 LDFileFormat::Target, in initObjectFormat() [all …]
|
D | LDSection.cpp | 26 m_Kind(LDFileFormat::Ignore), in LDSection() 40 LDFileFormat::Kind pKind, in LDSection() 67 LDFileFormat::Kind pKind, in Create() 88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); in hasSectionData() 93 assert(LDFileFormat::Relocation == kind()); in hasRelocData() 98 assert(LDFileFormat::EhFrame == kind()); in hasEhFrame() 103 assert(LDFileFormat::DebugString == kind()); in hasDebugString()
|
D | LDFileFormat.cpp | 16 LDFileFormat::LDFileFormat() in LDFileFormat() function in mcld::LDFileFormat 23 LDFileFormat::~LDFileFormat() { in ~LDFileFormat()
|
D | ELFObjectWriter.cpp | 57 case LDFileFormat::Note: in writeSection() 61 case LDFileFormat::TEXT: in writeSection() 62 case LDFileFormat::DATA: in writeSection() 63 case LDFileFormat::Relocation: in writeSection() 64 case LDFileFormat::Target: in writeSection() 65 case LDFileFormat::Debug: in writeSection() 66 case LDFileFormat::DebugString: in writeSection() 67 case LDFileFormat::GCCExceptTable: in writeSection() 68 case LDFileFormat::EhFrame: { in writeSection() 75 case LDFileFormat::Null: in writeSection() [all …]
|
D | ELFBinaryReader.cpp | 43 pInput, "", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); in readBinary() 49 LDFileFormat::DATA, in readBinary() 60 pInput, ".shstrtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1); in readBinary() 65 LDFileFormat::NamePool, in readBinary() 121 pInput, ".strtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1); in readBinary()
|
D | GarbageCollection.cpp | 63 if (pSection.kind() == LDFileFormat::TEXT || in mayProcessGC() 64 pSection.kind() == LDFileFormat::DATA || in mayProcessGC() 65 pSection.kind() == LDFileFormat::BSS || in mayProcessGC() 66 pSection.kind() == LDFileFormat::GCCExceptTable) in mayProcessGC() 138 if ((LDFileFormat::Ignore == reloc_sect->kind()) || in setUpReachedSections() 337 section->setKind(LDFileFormat::Ignore); in stripSections() 351 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind()) in stripSections() 352 reloc_sect->setKind(LDFileFormat::Ignore); in stripSections()
|
D | ELFReaderIf.cpp | 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc() 113 if (sect_hdr->kind() == LDFileFormat::Ignore) in getSymFragmentRef() 116 if (sect_hdr->kind() == LDFileFormat::Group) in getSymFragmentRef()
|
D | IdenticalCodeFolding.cpp | 85 sect->setKind(LDFileFormat::Folded); in foldIdenticalCode() 108 if (sect->kind() == LDFileFormat::Folded) { in foldIdenticalCode() 128 case LDFileFormat::TEXT: { in findCandidates() 133 case LDFileFormat::Relocation: { in findCandidates() 135 if (target->kind() == LDFileFormat::TEXT) { in findCandidates()
|
D | SectionSymbolSet.cpp | 71 case LDFileFormat::Relocation: in finalize() 75 case LDFileFormat::EhFrame: in finalize()
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 31 LDFileFormat::Kind GetELFSectionKind(uint32_t pType, in GetELFSectionKind() 35 return LDFileFormat::Exclude; in GetELFSectionKind() 38 return LDFileFormat::Target; in GetELFSectionKind() 45 return LDFileFormat::DebugString; in GetELFSectionKind() 46 return LDFileFormat::Debug; in GetELFSectionKind() 49 return LDFileFormat::MetaData; in GetELFSectionKind() 51 return LDFileFormat::Note; in GetELFSectionKind() 53 return LDFileFormat::EhFrame; in GetELFSectionKind() 55 return LDFileFormat::EhFrameHdr; in GetELFSectionKind() 57 return LDFileFormat::GCCExceptTable; in GetELFSectionKind() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDSection.h | 38 LDFileFormat::Kind pKind, 48 LDFileFormat::Kind pKind, 65 LDFileFormat::Kind kind() const { return m_Kind; } in kind() 118 void setKind(LDFileFormat::Kind pKind) { m_Kind = pKind; } in setKind() 184 LDFileFormat::Kind m_Kind;
|
D | LDFileFormat.h | 23 class LDFileFormat { 50 LDFileFormat(); 53 virtual ~LDFileFormat();
|
D | DynObjFileFormat.h | 17 class DynObjFormat : public LDFileFormat {};
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectLinker.cpp | 345 case LDFileFormat::Folded: in mergeSections() 346 case LDFileFormat::Ignore: in mergeSections() 347 case LDFileFormat::Null: in mergeSections() 348 case LDFileFormat::NamePool: in mergeSections() 349 case LDFileFormat::Group: in mergeSections() 350 case LDFileFormat::StackNote: in mergeSections() 353 case LDFileFormat::Relocation: in mergeSections() 357 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore || in mergeSections() 358 (*sect)->getLink()->kind() == LDFileFormat::Folded) in mergeSections() 359 (*sect)->setKind(LDFileFormat::Ignore); in mergeSections() [all …]
|
D | ObjectBuilder.cpp | 35 LDFileFormat::Kind pKind, in CreateSection() 61 pInputSection.setKind(LDFileFormat::Ignore); in MergeSection() 79 case LDFileFormat::EhFrame: { in MergeSection() 90 case LDFileFormat::DebugString: { in MergeSection()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 224 case LDFileFormat::Relocation: in initStandardSymbols() 226 case LDFileFormat::EhFrame: in initStandardSymbols() 1309 if (LDFileFormat::Null == pSectHdr.kind()) in getSectionOrder() 1323 case LDFileFormat::TEXT: in getSectionOrder() 1324 case LDFileFormat::DATA: in getSectionOrder() 1359 case LDFileFormat::BSS: in getSectionOrder() 1364 case LDFileFormat::NamePool: { in getSectionOrder() 1369 case LDFileFormat::Relocation: in getSectionOrder() 1376 case LDFileFormat::Target: in getSectionOrder() 1380 case LDFileFormat::Note: in getSectionOrder() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | SectionDataTest.cpp | 39 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 43 s->getSection().kind() == LDFileFormat::Null); in TEST_F() 49 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
|
D | FragmentTest.cpp | 38 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F() 53 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMException.cpp | 90 if ((text->kind() == LDFileFormat::Ignore) || in create() 91 (text->kind() == LDFileFormat::Folded)) { in create() 93 exIdx->setKind(LDFileFormat::Ignore); in create()
|
D | ARMLDBackend.cpp | 155 LDFileFormat::Target, in initTargetSections() 160 LDFileFormat::Target, in initTargetSections() 165 LDFileFormat::Target, in initTargetSections() 494 if ((pSection.getLink()->kind() == LDFileFormat::Ignore) || in mergeSection() 495 (pSection.getLink()->kind() == LDFileFormat::Folded)) { in mergeSection() 498 pSection.setKind(LDFileFormat::Ignore); in mergeSection() 572 if ((LDFileFormat::Ignore == reloc_sect->kind()) || in setUpReachedSectionsForGC() 596 if (target_sect->kind() != LDFileFormat::TEXT && in setUpReachedSectionsForGC() 597 target_sect->kind() != LDFileFormat::DATA && in setUpReachedSectionsForGC() 598 target_sect->kind() != LDFileFormat::BSS) in setUpReachedSectionsForGC() [all …]
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | FragmentRef.cpp | 79 case LDFileFormat::Relocation: in Create() 82 case LDFileFormat::EhFrame: in Create()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 430 LDFileFormat::Target, in initTargetSections() 436 LDFileFormat::Target, in initTargetSections() 444 LDFileFormat::Target, in initTargetSections() 452 LDFileFormat::Target, in initTargetSections() 460 LDFileFormat::Target, in initTargetSections() 467 LDFileFormat::Target, in initTargetSections() 556 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in doRelax() 696 (pInputSection.kind() == LDFileFormat::LinkOnce) || in mergeSection() 697 (pInputSection.kind() == LDFileFormat::Target)) { in mergeSection()
|