Home
last modified time | relevance | path

Searched refs:fileType (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp263 if (file.fileType == llvm::MachO::MH_OBJECT) { in MachOFileLayout()
393 if (_file.fileType == llvm::MachO::MH_DYLIB) { in loadCommandsSize()
407 if (_file.fileType != llvm::MachO::MH_PRELOAD) { in loadCommandsSize()
413 if (_file.fileType == llvm::MachO::MH_EXECUTE) { in loadCommandsSize()
430 if (_file.fileType == llvm::MachO::MH_EXECUTE) { in loadCommandsSize()
579 if (_file.fileType == llvm::MachO::MH_EXECUTE && in writeMachHeader()
592 mh->filetype = _file.fileType; in writeMachHeader()
767 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeLoadCommands()
1104 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeSymbolTable()
1501 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeLinkEditContent()
[all …]
H A DMachONormalizedFile.h227 HeaderFileType fileType = llvm::MachO::MH_OBJECT; member
H A DMachONormalizedFileFromAtoms.cpp1595 normFile.fileType = context.outputMachOType(); in normalizedFromAtoms()
1605 if (normFile.fileType == llvm::MachO::MH_OBJECT) in normalizedFromAtoms()
1618 else if (normFile.fileType == llvm::MachO::MH_OBJECT && in normalizedFromAtoms()
H A DMachONormalizedFileBinaryReader.cpp255 f->fileType = HeaderFileType(smh->filetype); in readBinary()
H A DMachONormalizedFileYAML.cpp716 io.mapRequired("file-type", file.fileType); in mapping()
H A DMachONormalizedFileToAtoms.cpp1622 switch (normalizedFile.fileType) { in normalizedToAtoms()
/freebsd-12.1/contrib/llvm/tools/lld/lib/Core/
H A DReader.cpp40 file_magic fileType = identify_magic(content); in loadFile() local
44 if (!reader->canParse(fileType, mb->getMemBufferRef())) in loadFile()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DToolRunner.h65 FileType fileType, const std::string &InputFile,
73 Error MakeSharedObject(const std::string &InputFile, FileType fileType,
H A DToolRunner.cpp625 FileType fileType, in ExecuteProgram() argument
643 if (fileType != ObjectFile) { in ExecuteProgram()
645 if (fileType == CFile) { in ExecuteProgram()
766 Error CC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject() argument
791 if (fileType != ObjectFile) { in MakeSharedObject()
793 CCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); in MakeSharedObject()
/freebsd-12.1/contrib/llvm/tools/lld/lib/Driver/
H A DDarwinLdDriver.cpp341 llvm::MachO::HeaderFileType fileType = llvm::MachO::MH_EXECUTE; in parse() local
347 fileType = llvm::MachO::MH_DYLIB; in parse()
350 fileType = llvm::MachO::MH_OBJECT; in parse()
353 fileType = llvm::MachO::MH_BUNDLE; in parse()
356 fileType = llvm::MachO::MH_EXECUTE; in parse()
360 fileType = llvm::MachO::MH_PRELOAD; in parse()
441 ctx.configure(fileType, arch, os, minOSVersion, exportDynamicSymbols); in parse()