Home
last modified time | relevance | path

Searched refs:MH_OBJECT (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileYAMLTests.cpp52 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
68 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
84 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
100 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
116 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
132 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
145 f.fileType = llvm::MachO::MH_OBJECT; in TEST()
153 EXPECT_EQ((int)(f2->fileType), llvm::MachO::MH_OBJECT); in TEST()
176 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
205 EXPECT_EQ(f->fileType, llvm::MachO::MH_OBJECT); in TEST()
[all …]
DMachONormalizedFileBinaryReaderTests.cpp77 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
108 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
139 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
170 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
184 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
193 EXPECT_EQ((int)(f2->fileType), MH_OBJECT); in TEST()
270 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
395 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
527 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
671 EXPECT_EQ((int)(f->fileType), MH_OBJECT); in TEST()
DMachONormalizedFileBinaryWriterTests.cpp115 f.fileType = MH_OBJECT; in TEST()
159 EXPECT_EQ(MH_OBJECT, f2->fileType); in TEST()
233 f.fileType = MH_OBJECT; in TEST()
271 EXPECT_EQ(MH_OBJECT, f2->fileType); in TEST()
344 f.fileType = MH_OBJECT; in TEST()
390 EXPECT_EQ(MH_OBJECT, f2->fileType); in TEST()
474 f.fileType = MH_OBJECT; in TEST()
547 EXPECT_EQ(MH_OBJECT, f2->fileType); in TEST()
/external/llvm-project/lld/test/darwin/Inputs/
Dnative-and-mach-o.objtxt3 file-type: MH_OBJECT
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DWriterMachO.cpp56 if (_ctx.outputMachOType() != llvm::MachO::MH_OBJECT) in createImplicitFiles()
DMachONormalizedFileFromAtoms.cpp350 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); in sectionForAtom()
654 const bool r = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); in copySectionContent()
970 _ctx.outputMachOType() == llvm::MachO::MH_OBJECT) { in descBits()
986 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); in getSymbolTableRegion()
1035 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); in addSymbols()
1293 if (_ctx.outputMachOType() != llvm::MachO::MH_OBJECT) in addSectionRelocs()
1423 if (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT) in addRebaseAndBindingInfo()
1534 if (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT) in addExportInfo()
1563 if (_ctx.outputMachOType() == MH_OBJECT) { in fileFlags()
1605 if (normFile.fileType == llvm::MachO::MH_OBJECT) in normalizedFromAtoms()
[all …]
DExecutableAtoms.h75 case llvm::MachO::MH_OBJECT: in MachHeaderAliasFile()
DMachOLinkingContext.cpp195 if (_outputMachOType != llvm::MachO::MH_OBJECT && in configure()
261 case llvm::MachO::MH_OBJECT: in configure()
341 if (_outputMachOType == MH_OBJECT) in needsGOTPass()
371 if (_outputMachOType == MH_OBJECT) in needsShimPass()
DMachONormalizedFileBinaryWriter.cpp265 if (file.fileType == llvm::MachO::MH_OBJECT) { in MachOFileLayout()
773 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeLoadCommands()
1112 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeSymbolTable()
1509 if (_file.fileType == llvm::MachO::MH_OBJECT) { in writeLinkEditContent()
1532 if (_file.fileType != llvm::MachO::MH_OBJECT) in writeBinary()
DMachONormalizedFile.h226 HeaderFileType fileType = llvm::MachO::MH_OBJECT;
DMachONormalizedFileBinaryReader.cpp164 if (read32(&mh->filetype, isBig) != MH_OBJECT) in isThinObjectFile()
DMachONormalizedFileYAML.cpp152 io.enumCase(value, "MH_OBJECT", llvm::MachO::MH_OBJECT); in enumeration()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOLayoutBuilder.cpp20 if (O.Header.FileType == MachO::HeaderFileType::MH_OBJECT) in getStringTableBuilderKind()
117 O.Header.FileType == MachO::HeaderFileType::MH_OBJECT; in layoutSegments()
234 assert((!(O.Header.FileType == MachO::HeaderFileType::MH_OBJECT) || in layoutTail()
/external/llvm-project/lld/lib/Driver/
DDarwinLdDriver.cpp350 fileType = llvm::MachO::MH_OBJECT; in parse()
567 if (ctx.outputMachOType() != llvm::MachO::MH_OBJECT) in parse()
787 case llvm::MachO::MH_OBJECT: in parse()
835 case llvm::MachO::MH_OBJECT: in parse()
883 case llvm::MachO::MH_OBJECT: in parse()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp228 if (Filetype == MachO::MH_OBJECT) in printDarwinSectionSizes()
255 if (Filetype == MachO::MH_OBJECT) in printDarwinSectionSizes()
287 if (MachO->getHeader().filetype == MachO::MH_OBJECT) { in printDarwinSegmentSizes()
313 if (MachO->getHeader().filetype == MachO::MH_OBJECT) { in printDarwinSegmentSizes()
/external/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp241 if (Filetype == MachO::MH_OBJECT) in printDarwinSectionSizes()
268 if (Filetype == MachO::MH_OBJECT) in printDarwinSectionSizes()
300 if (MachO->getHeader().filetype == MachO::MH_OBJECT) { in printDarwinSegmentSizes()
326 if (MachO->getHeader().filetype == MachO::MH_OBJECT) { in printDarwinSegmentSizes()
/external/llvm/tools/dsymutil/
DMachOUtils.cpp295 return Obj.getHeader64().filetype != MachO::MH_OBJECT; in isExecutable()
297 return Obj.getHeader().filetype != MachO::MH_OBJECT; in isExecutable()
/external/llvm-project/llvm/tools/dsymutil/
DMachOUtils.cpp318 return Obj.getHeader64().filetype != MachO::MH_OBJECT; in isExecutable()
320 return Obj.getHeader().filetype != MachO::MH_OBJECT; in isExecutable()
/external/llvm-project/lld/unittests/DriverTests/
DDarwinLdDriverTest.cpp71 EXPECT_EQ(llvm::MachO::MH_OBJECT, _ctx.outputMachOType()); in TEST_F()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp298 uint32_t Filetype = MachO::MH_OBJECT; in darwinPrintSymbol()
468 if (Filetype == MachO::MH_OBJECT && in darwinPrintSymbol()
472 if (Filetype == MachO::MH_OBJECT && in darwinPrintSymbol()
477 if (Filetype == MachO::MH_OBJECT && in darwinPrintSymbol()
/external/google-breakpad/src/third_party/mac_headers/mach-o/
Dloader.h110 #define MH_OBJECT 0x1 /* relocatable object file */ macro
/external/llvm-project/llvm/lib/Object/
DMachOUniversalWriter.cpp38 if (O.getHeader().filetype == MachO::MH_OBJECT) { in calculateFileAlignment()
/external/llvm-project/lldb/examples/python/
Dmach_o.py24 MH_OBJECT = 0x00000001 variable
794 'MH_OBJECT': MH_OBJECT,
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp93 { "Relocatable", MachO::MH_OBJECT },
/external/llvm/lib/MC/
DMachObjectWriter.cpp793 writeHeader(MachO::MH_OBJECT, NumLoadCommands, LoadCommandsSize, in writeObject()

12