Home
last modified time | relevance | path

Searched refs:NormalizedFile (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFile.h224 struct NormalizedFile { struct
283 llvm::Expected<std::unique_ptr<NormalizedFile>> argument
288 llvm::Error writeBinary(const NormalizedFile &file, StringRef path);
290 size_t headerAndLoadCommandsSize(const NormalizedFile &file,
295 llvm::Expected<std::unique_ptr<NormalizedFile>>
299 std::error_code writeYaml(const NormalizedFile &file, raw_ostream &out);
303 const NormalizedFile &normalizedFile,
308 const NormalizedFile &normalizedFile,
313 normalizedToAtoms(const NormalizedFile &normalizedFile, StringRef path,
317 llvm::Expected<std::unique_ptr<NormalizedFile>>
DMachONormalizedFileFromAtoms.cpp118 void assignAddressesToSections(const NormalizedFile &file);
120 void copySegmentInfo(NormalizedFile &file);
121 void copySectionInfo(NormalizedFile &file);
122 void updateSectionInfo(NormalizedFile &file);
124 llvm::Error synthesizeDebugNotes(NormalizedFile &file);
125 llvm::Error addSymbols(const lld::File &atomFile, NormalizedFile &file);
126 void addIndirectSymbols(const lld::File &atomFile, NormalizedFile &file);
127 void addRebaseAndBindingInfo(const lld::File &, NormalizedFile &file);
128 void addExportInfo(const lld::File &, NormalizedFile &file);
129 void addSectionRelocs(const lld::File &, NormalizedFile &file);
[all …]
DMachONormalizedFileYAML.cpp333 NormalizedFile *file = info->_normalizeMachOFile; in denormalize()
372 NormalizedFile *file = info->_normalizeMachOFile; in enumeration()
712 struct MappingTraits<NormalizedFile> {
713 static void mapping(IO &io, NormalizedFile &file) { in mapping()
743 static std::string validate(IO &io, NormalizedFile &file) { return {}; } in validate()
759 NormalizedFile nf; in handledDocTag()
764 MappingTraits<NormalizedFile>::mapping(io, nf); in handledDocTag()
799 llvm::Expected<std::unique_ptr<NormalizedFile>>
802 std::unique_ptr<NormalizedFile> f(new NormalizedFile()); in readYaml()
823 std::error_code writeYaml(const NormalizedFile &file, raw_ostream &out) { in writeYaml()
[all …]
DWriterMachO.cpp21 using lld::mach_o::normalized::NormalizedFile;
32 llvm::Expected<std::unique_ptr<NormalizedFile>> nFile = in writeFile()
DMachONormalizedFileToAtoms.cpp278 const NormalizedFile &normalizedFile, in processSymboledSection()
385 const NormalizedFile &normalizedFile, in processSection()
494 const Section* findSectionCoveringAddress(const NormalizedFile &normalizedFile, in findSectionCoveringAddress()
506 findAtomCoveringAddress(const NormalizedFile &normalizedFile, MachOFile &file, in findAtomCoveringAddress()
524 const NormalizedFile &normalizedFile, in convertRelocs()
713 const NormalizedFile &normalizedFile, in parseStabs()
826 dataExtractorFromSection(const NormalizedFile &normalizedFile, in dataExtractorFromSection()
856 getIndexedString(const NormalizedFile &normalizedFile, in getIndexedString()
873 readCompUnit(const NormalizedFile &normalizedFile, in readCompUnit()
941 const NormalizedFile &normalizedFile, bool copyRefs) { in parseDebugInfo()
[all …]
DMachONormalizedFileBinaryReader.cpp203 llvm::Expected<std::unique_ptr<NormalizedFile>>
207 std::unique_ptr<NormalizedFile> f(new NormalizedFile()); in readBinary()
DMachONormalizedFileBinaryWriter.cpp111 MachOFileLayout(const NormalizedFile &file, bool alwaysIncludeFunctionStarts);
186 const NormalizedFile &_file;
235 size_t headerAndLoadCommandsSize(const NormalizedFile &file, in headerAndLoadCommandsSize()
254 MachOFileLayout::MachOFileLayout(const NormalizedFile &file, in MachOFileLayout()
739 static void writeVersionMinLoadCommand(const NormalizedFile &_file, in writeVersionMinLoadCommand()
1553 llvm::Error writeBinary(const NormalizedFile &file, StringRef path) { in writeBinary()
/external/llvm-project/lld/include/lld/ReaderWriter/
DYamlContext.h23 struct NormalizedFile;
27 using lld::mach_o::normalized::NormalizedFile;
36 NormalizedFile *_normalizeMachOFile = nullptr;
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp624 class NormalizedFile : public lld::File { class
626 NormalizedFile(IO &io) in NormalizedFile() function in llvm::yaml::MappingTraits::NormalizedFile
633 NormalizedFile(IO &io, const lld::File *file) in NormalizedFile() function in llvm::yaml::MappingTraits::NormalizedFile
642 ~NormalizedFile() override { in ~NormalizedFile()
706 MappingNormalizationHeap<NormalizedFile, const lld::File *> in mappingAtoms()
759 typedef MappingTraits<const lld::File *>::NormalizedFile NormalizedFile; in denormalize() typedef
760 NormalizedFile *f = reinterpret_cast<NormalizedFile *>(info->_file); in denormalize()
840 typedef MappingTraits<const lld::File *>::NormalizedFile NormalizedFile; in denormalize() typedef
841 NormalizedFile *f = reinterpret_cast<NormalizedFile *>(info->_file); in denormalize()
947 typedef MappingTraits<const lld::File *>::NormalizedFile NormalizedFile; in mapping() typedef
[all …]
/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileYAMLTests.cpp24 using lld::mach_o::normalized::NormalizedFile;
29 static std::unique_ptr<NormalizedFile> fromYAML(StringRef str) { in fromYAML()
31 llvm::Expected<std::unique_ptr<NormalizedFile>> r in fromYAML()
37 static void toYAML(const NormalizedFile &f, std::string &out) { in toYAML()
45 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
61 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
77 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
93 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
109 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
125 std::unique_ptr<NormalizedFile> f = fromYAML( in TEST()
[all …]
DMachONormalizedFileBinaryReaderTests.cpp29 static std::unique_ptr<NormalizedFile>
33 llvm::Expected<std::unique_ptr<NormalizedFile>> r = in fromBinary()
74 std::unique_ptr<NormalizedFile> f = in TEST()
105 std::unique_ptr<NormalizedFile> f = in TEST()
136 std::unique_ptr<NormalizedFile> f = in TEST()
167 std::unique_ptr<NormalizedFile> f = in TEST()
181 std::unique_ptr<NormalizedFile> f = in TEST()
190 std::unique_ptr<NormalizedFile> f2 = in TEST()
266 std::unique_ptr<NormalizedFile> f = in TEST()
391 std::unique_ptr<NormalizedFile> f = in TEST()
[all …]
DMachONormalizedFileToAtomsTests.cpp27 NormalizedFile f; in TEST()
36 NormalizedFile f; in TEST()
111 NormalizedFile fReservedLength, fValidBigLength; in TEST()
DMachONormalizedFileBinaryWriterTests.cpp31 std::unique_ptr<NormalizedFile> &nf, StringRef archStr) { in fromBinary()
37 llvm::Expected<std::unique_ptr<NormalizedFile>> r = in fromBinary()
113 NormalizedFile f; in TEST()
155 std::unique_ptr<NormalizedFile> f2; in TEST()
231 NormalizedFile f; in TEST()
267 std::unique_ptr<NormalizedFile> f2; in TEST()
342 NormalizedFile f; in TEST()
386 std::unique_ptr<NormalizedFile> f2; in TEST()
472 NormalizedFile f; in TEST()
543 std::unique_ptr<NormalizedFile> f2; in TEST()