Home
last modified time | relevance | path

Searched refs:FileOff (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.cpp1035 size_t FileOff = ElfHdr.size(); // File header first. in OutputSectionsAndSectionTable() local
1041 ES.Offset = FileOff; in OutputSectionsAndSectionTable()
1051 FileOff = (FileOff+ES.Align-1) & ~(ES.Align-1); in OutputSectionsAndSectionTable()
1053 ES.Offset = FileOff; in OutputSectionsAndSectionTable()
1054 FileOff += ES.Size; in OutputSectionsAndSectionTable()
1059 FileOff = (FileOff+TableAlign-1) & ~(TableAlign-1); in OutputSectionsAndSectionTable()
1067 ElfHdr.fixWord(FileOff, ELFHdr_e_shoff_Offset); in OutputSectionsAndSectionTable()
1072 FileOff = ElfHdr.size(); in OutputSectionsAndSectionTable()
1087 for (size_t NewFileOff = (FileOff+S.Align-1) & ~(S.Align-1); in OutputSectionsAndSectionTable()
1088 FileOff != NewFileOff; ++FileOff) in OutputSectionsAndSectionTable()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/
DELFObjectWriter.cpp1056 uint64_t FileOff = OS.tell(); in WriteDataSectionData() local
1059 uint64_t Padding = OffsetToAlignment(FileOff, SD.getAlignment()); in WriteDataSectionData()
1061 FileOff += Padding; in WriteDataSectionData()
1063 FileOff += GetSectionFileSize(Layout, SD); in WriteDataSectionData()
1181 uint64_t FileOff = HeaderSize; in WriteObject() local
1191 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment()); in WriteObject()
1194 SectionOffsetMap[&Section] = FileOff; in WriteObject()
1197 FileOff += GetSectionFileSize(Layout, SD); in WriteObject()
1200 FileOff = RoundUpToAlignment(FileOff, NaturalAlignment); in WriteObject()
1202 const unsigned SectionHeaderOffset = FileOff - HeaderSize; in WriteObject()
[all …]