reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/BinaryFormat/MachO.h
 1028   sys::swapByteOrder(mh.filetype);
lib/Object/MachOObjectFile.cpp
  298       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  299           Obj.getHeader().filetype != MachO::MH_DSYM &&
  306       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  307           Obj.getHeader().filetype != MachO::MH_DSYM &&
  316       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  317           Obj.getHeader().filetype != MachO::MH_DSYM &&
  325       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  326           Obj.getHeader().filetype != MachO::MH_DSYM &&
  334       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  335           Obj.getHeader().filetype != MachO::MH_DSYM && s.size != 0 &&
  350       if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB &&
  351           Obj.getHeader().filetype != MachO::MH_DSYM &&
  766   if (Obj.getHeader().filetype != MachO::MH_DYLIB &&
  767       Obj.getHeader().filetype != MachO::MH_DYLIB_STUB)
 1316         if (getHeader().filetype != MachO::MH_CORE ||
 1662   if ((getHeader().filetype == MachO::MH_DYLIB ||
 1663        getHeader().filetype == MachO::MH_DYLIB_STUB) &&
 2116   assert((getHeader().filetype == MachO::MH_OBJECT ||
 2117           getHeader().filetype == MachO::MH_KEXT_BUNDLE) &&
 4405   if (getHeader().filetype == MachO::MH_OBJECT) {
 4632   return getHeader().filetype == MachO::MH_OBJECT;
tools/dsymutil/MachOUtils.cpp
  312     return Obj.getHeader().filetype != MachO::MH_OBJECT;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  164   if (read32(&mh->filetype, isBig) != MH_OBJECT)
  254   f->fileType = HeaderFileType(smh->filetype);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  596   mh->filetype = _file.fileType;
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  423     header.filetype = llvm::ByteSwap_32(header.filetype);
  423     header.filetype = llvm::ByteSwap_32(header.filetype);
  462   if (header.filetype == llvm::MachO::MH_EXECUTE &&
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  382     image_infos[i].header.filetype =
  515     if (image_infos[i].header.filetype == llvm::MachO::MH_DYLINKER) {
  544     } else if (image_infos[i].header.filetype == llvm::MachO::MH_EXECUTE) {
  580   if (image_info.header.filetype == llvm::MachO::MH_DYLINKER) {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  254     if (m_dyld.header.filetype == llvm::MachO::MH_DYLINKER) {
  927       if (image_infos[i].header.filetype == llvm::MachO::MH_EXECUTE)
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1071   return m_header.filetype == MH_EXECUTE;
 1075   return m_header.filetype == MH_DYLINKER;
 1543   const bool is_dsym = (m_header.filetype == MH_DSYM);
 2184   if (process && m_header.filetype != llvm::MachO::MH_OBJECT) {
 2274             m_header.filetype == llvm::MachO::MH_DYLINKER) {
 4875   if (header.filetype == MH_PRELOAD) {
 4969     if (header.filetype == MH_KEXT_BUNDLE) {
 5503   switch (m_header.filetype) {
 5546   switch (m_header.filetype) {
 5903   return m_header.filetype == llvm::MachO::MH_DYLINKER;
 5940   const bool is_dsym = (m_header.filetype == MH_DSYM);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
   75         if (mach_header.filetype == llvm::MachO::MH_CORE)
  144     header.filetype = llvm::ByteSwap_32(header.filetype);
  144     header.filetype = llvm::ByteSwap_32(header.filetype);
  159     switch (header.filetype) {
tools/llvm-lipo/llvm-lipo.cpp
  116     if (O.getHeader().filetype == MachO::MH_OBJECT) {
tools/llvm-nm/llvm-nm.cpp
  412       Filetype = H.filetype;
tools/llvm-objcopy/MachO/MachOReader.cpp
   24   O.Header.FileType = MachOObj.getHeader().filetype;
tools/llvm-objdump/MachODump.cpp
 1967     if (MachOOF->getHeader().filetype == MachO::MH_KEXT_BUNDLE &&
 2620     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2703     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2798     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2935     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 6883   if (info->O->getHeader().filetype == MachO::MH_OBJECT) {
 7316   if (Header.filetype == MachO::MH_OBJECT)
10207     PrintMachHeader(H.magic, H.cputype, H.cpusubtype, H.filetype, H.ncmds,
10229     filetype = H.filetype;
tools/llvm-readobj/MachODumper.cpp
  450   W.printEnum("FileType", Header.filetype, makeArrayRef(MachOHeaderFileTypes));
tools/llvm-size/llvm-size.cpp
  219   uint32_t Filetype = MachO->getHeader().filetype;
  294       if (MachO->getHeader().filetype == MachO::MH_OBJECT) {
  320       if (MachO->getHeader().filetype == MachO::MH_OBJECT) {
tools/obj2yaml/macho2yaml.cpp
  209   Y->Header.filetype = Obj.getHeader().filetype;