/frameworks/compile/mclinker/lib/LD/ |
LDFileFormat.cpp | 1 //===- LDFileFormat.cpp ---------------------------------------------------===// 9 #include "mcld/LD/LDFileFormat.h" 16 LDFileFormat::LDFileFormat() 23 LDFileFormat::~LDFileFormat() {
|
ELFDynObjFileFormat.cpp | 20 LDFileFormat::NamePool, 25 LDFileFormat::NamePool, 30 LDFileFormat::Note, 35 LDFileFormat::NamePool, 41 LDFileFormat::NamePool, 46 LDFileFormat::Relocation, 51 LDFileFormat::Relocation, 56 LDFileFormat::Relocation, 61 LDFileFormat::Relocation, 66 LDFileFormat::Target [all...] |
ELFExecFileFormat.cpp | 21 LDFileFormat::NamePool, 26 LDFileFormat::NamePool, 31 LDFileFormat::Note, 36 LDFileFormat::NamePool, 42 LDFileFormat::NamePool, 47 LDFileFormat::Relocation, 52 LDFileFormat::Relocation, 57 LDFileFormat::Relocation, 62 LDFileFormat::Relocation, 67 LDFileFormat::Target [all...] |
ELFFileFormat.cpp | 70 LDFileFormat::TEXT, 75 pBuilder.CreateSection("", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); 77 LDFileFormat::TEXT, 84 LDFileFormat::BSS, 89 ".comment", LDFileFormat::MetaData, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); 92 LDFileFormat::DATA, 97 LDFileFormat::DATA, 102 ".debug", LDFileFormat::Debug, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); 105 LDFileFormat::TEXT, 111 LDFileFormat::DATA [all...] |
LDSection.cpp | 26 m_Kind(LDFileFormat::Ignore), 40 LDFileFormat::Kind pKind, 67 LDFileFormat::Kind pKind, 88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); 93 assert(LDFileFormat::Relocation == kind()); 98 assert(LDFileFormat::EhFrame == kind()); 103 assert(LDFileFormat::DebugString == kind());
|
ELFObjectReader.cpp | 119 case LDFileFormat::Group: { 146 LDFileFormat::Ignore); 154 case LDFileFormat::LinkOnce: { 162 (*section)->setKind(LDFileFormat::Debug); 164 (*section)->setKind(LDFileFormat::Ignore); 172 (*section)->setKind(LDFileFormat::TEXT); 174 (*section)->setKind(LDFileFormat::DATA); 180 (*section)->setKind(LDFileFormat::Ignore); 185 case LDFileFormat::Relocation: { 189 if (link_sect == NULL || link_sect->kind() == LDFileFormat::Ignore) [all...] |
ELFBinaryReader.cpp | 43 pInput, "", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); 49 LDFileFormat::DATA, 60 pInput, ".shstrtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1); 65 LDFileFormat::NamePool, 121 pInput, ".strtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1);
|
ELFObjectWriter.cpp | 57 case LDFileFormat::Note: 61 case LDFileFormat::TEXT: 62 case LDFileFormat::DATA: 63 case LDFileFormat::Relocation: 64 case LDFileFormat::Target: 65 case LDFileFormat::Debug: 66 case LDFileFormat::DebugString: 67 case LDFileFormat::GCCExceptTable: 68 case LDFileFormat::EhFrame: { 75 case LDFileFormat::Null [all...] |
GarbageCollection.cpp | 14 #include "mcld/LD/LDFileFormat.h" 63 if (pSection.kind() == LDFileFormat::TEXT || 64 pSection.kind() == LDFileFormat::DATA || 65 pSection.kind() == LDFileFormat::BSS || 66 pSection.kind() == LDFileFormat::GCCExceptTable) 138 if ((LDFileFormat::Ignore == reloc_sect->kind()) || 337 section->setKind(LDFileFormat::Ignore); 351 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind()) 352 reloc_sect->setKind(LDFileFormat::Ignore);
|
SectionSymbolSet.cpp | 13 #include "mcld/LD/LDFileFormat.h" 71 case LDFileFormat::Relocation: 75 case LDFileFormat::EhFrame:
|
ELFReaderIf.cpp | 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) 113 if (sect_hdr->kind() == LDFileFormat::Ignore) 116 if (sect_hdr->kind() == LDFileFormat::Group)
|
ELFSegment.cpp | 66 if ((*it)->kind() != LDFileFormat::BSS)
|
IdenticalCodeFolding.cpp | 85 sect->setKind(LDFileFormat::Folded); 108 if (sect->kind() == LDFileFormat::Folded) { 128 case LDFileFormat::TEXT: { 133 case LDFileFormat::Relocation: { 135 if (target->kind() == LDFileFormat::TEXT) {
|
/frameworks/compile/mclinker/include/mcld/LD/ |
DynObjFileFormat.h | 17 class DynObjFormat : public LDFileFormat {};
|
LDFileFormat.h | 1 //===- LDFileFormat.h -----------------------------------------------------===// 20 /** \class LDFileFormat 21 * \brief LDFileFormat describes the common file formats. 23 class LDFileFormat { 50 LDFileFormat(); 53 virtual ~LDFileFormat();
|
LDSection.h | 13 #include "mcld/LD/LDFileFormat.h" 38 LDFileFormat::Kind pKind, 48 LDFileFormat::Kind pKind, 64 /// from LDFileFormat::Kind 65 LDFileFormat::Kind kind() const { return m_Kind; } 118 void setKind(LDFileFormat::Kind pKind) { m_Kind = pKind; } 184 LDFileFormat::Kind m_Kind;
|
/frameworks/compile/mclinker/unittests/ |
SectionDataTest.cpp | 12 #include "mcld/LD/LDFileFormat.h" 39 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); 43 s->getSection().kind() == LDFileFormat::Null); 49 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
|
FragmentTest.cpp | 38 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); 53 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0);
|
/frameworks/compile/mclinker/lib/Core/ |
IRBuilder.cpp | 31 LDFileFormat::Kind GetELFSectionKind(uint32_t pType, 35 return LDFileFormat::Exclude; 38 return LDFileFormat::Target; 45 return LDFileFormat::DebugString; 46 return LDFileFormat::Debug; 49 return LDFileFormat::MetaData; 51 return LDFileFormat::Note; 53 return LDFileFormat::EhFrame; 55 return LDFileFormat::EhFrameHdr; 57 return LDFileFormat::GCCExceptTable [all...] |
/frameworks/compile/mclinker/include/mcld/Object/ |
ObjectBuilder.h | 12 #include "mcld/LD/LDFileFormat.h" 52 LDFileFormat::Kind pKind,
|
/frameworks/compile/mclinker/lib/Object/ |
ObjectLinker.cpp | 345 case LDFileFormat::Folded: 346 case LDFileFormat::Ignore: 347 case LDFileFormat::Null: 348 case LDFileFormat::NamePool: 349 case LDFileFormat::Group: 350 case LDFileFormat::StackNote: 353 case LDFileFormat::Relocation: 357 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore || 358 (*sect)->getLink()->kind() == LDFileFormat::Folded) 359 (*sect)->setKind(LDFileFormat::Ignore) [all...] |
ObjectBuilder.cpp | 35 LDFileFormat::Kind pKind, 61 pInputSection.setKind(LDFileFormat::Ignore); 79 case LDFileFormat::EhFrame: { 90 case LDFileFormat::DebugString: {
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMException.cpp | 90 if ((text->kind() == LDFileFormat::Ignore) || 91 (text->kind() == LDFileFormat::Folded)) { 92 // Set the related exception sections as LDFileFormat::Ignore. 93 exIdx->setKind(LDFileFormat::Ignore);
|
/frameworks/compile/mclinker/lib/Target/ |
GNULDBackend.cpp | 224 case LDFileFormat::Relocation: 226 case LDFileFormat::EhFrame: [all...] |
/frameworks/compile/mclinker/lib/Fragment/ |
FragmentRef.cpp | 79 case LDFileFormat::Relocation: 82 case LDFileFormat::EhFrame:
|