Home
last modified time | relevance | path

Searched refs:outputMachOType (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/lld/unittests/DriverTests/
DDarwinLdDriverTest.cpp66 EXPECT_EQ(llvm::MachO::MH_DYLIB, _ctx.outputMachOType()); in TEST_F()
71 EXPECT_EQ(llvm::MachO::MH_OBJECT, _ctx.outputMachOType()); in TEST_F()
76 EXPECT_EQ(llvm::MachO::MH_BUNDLE, _ctx.outputMachOType()); in TEST_F()
81 EXPECT_EQ(llvm::MachO::MH_PRELOAD, _ctx.outputMachOType()); in TEST_F()
86 EXPECT_EQ(llvm::MachO::MH_EXECUTE, _ctx.outputMachOType()); in TEST_F()
/external/llvm-project/lld/lib/Driver/
DDarwinLdDriver.cpp492 if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) { in parse()
505 if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) { in parse()
567 if (ctx.outputMachOType() != llvm::MachO::MH_OBJECT) in parse()
709 else if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) in parse()
732 switch (ctx.outputMachOType()) { in parse()
786 switch (ctx.outputMachOType()) { in parse()
834 switch (ctx.outputMachOType()) { in parse()
882 switch (ctx.outputMachOType()) { in parse()
1027 switch (ctx.outputMachOType()) { in parse()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileFromAtoms.cpp350 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); in sectionForAtom()
514 switch (_ctx.outputMachOType()) { in organizeSections()
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()
[all …]
DWriterMachO.cpp56 if (_ctx.outputMachOType() != llvm::MachO::MH_OBJECT) in createImplicitFiles()
DExecutableAtoms.h74 switch (context.outputMachOType()) { in MachHeaderAliasFile()
DMachOLinkingContext.cpp607 if (!_bundleLoader.empty() && outputMachOType() != MH_BUNDLE) { in validateImpl()
/external/llvm-project/lld/include/lld/ReaderWriter/
DMachOLinkingContext.h121 HeaderFileType outputMachOType() const { return _outputMachOType; } in outputMachOType() function