|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 244 f->arch = MachOLinkingContext::archFromCpuType(smh->cputype, smh->cpusubtype);
245 if (f->arch != arch) {
250 + MachOLinkingContext::nameFromArch(f->arch)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 257 _is64(MachOLinkingContext::is64Bit(file.arch)),
258 _swap(!MachOLinkingContext::isHostEndian(file.arch)),
259 _bigEndianArch(MachOLinkingContext::isBigEndian(file.arch)),
579 auto cpusubtype = MachOLinkingContext::cpuSubtypeFromArch(_file.arch);
594 mh->cputype = MachOLinkingContext::cpuTypeFromArch(_file.arch);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 1594 normFile.arch = context.arch();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 386 const bool is64 = MachOLinkingContext::is64Bit(normalizedFile.arch);
387 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
598 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
826 const bool is64 = MachOLinkingContext::is64Bit(normalizedFile.arch);
827 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
1077 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
1100 const bool is64 = MachOLinkingContext::is64Bit(normalizedFile.arch);
1183 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
1184 const bool is64 = MachOLinkingContext::is64Bit(normalizedFile.arch);
1346 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
1374 const bool isBig = MachOLinkingContext::isBigEndian(normalizedFile.arch);
1475 = ArchHandler::create(normalizedFile.arch);
1543 file->setArch(normalizedFile.arch);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp 374 switch (file->arch) {
714 io.mapRequired("arch", file.arch);
783 if (nf.arch != _arch) {
787 + MachOLinkingContext::nameFromArch(nf.arch)
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp 76 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
107 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86);
138 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_ppc);
169 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv7);
183 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
192 EXPECT_EQ(f2->arch, lld::MachOLinkingContext::arch_armv7);
269 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
394 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86);
526 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv7);
670 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_ppc);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 114 f.arch = lld::MachOLinkingContext::arch_x86_64;
158 EXPECT_EQ(lld::MachOLinkingContext::arch_x86_64, f2->arch);
232 f.arch = lld::MachOLinkingContext::arch_x86;
270 EXPECT_EQ(lld::MachOLinkingContext::arch_x86, f2->arch);
343 f.arch = lld::MachOLinkingContext::arch_armv7;
389 EXPECT_EQ(lld::MachOLinkingContext::arch_armv7, f2->arch);
473 f.arch = lld::MachOLinkingContext::arch_ppc;
546 EXPECT_EQ(lld::MachOLinkingContext::arch_ppc, f2->arch);
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp 28 f.arch = lld::MachOLinkingContext::arch_x86_64;
37 f.arch = lld::MachOLinkingContext::arch_x86_64;
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp 51 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_ppc);
67 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
83 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86);
99 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv6);
115 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv7);
131 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv7s);
144 f.arch = lld::MachOLinkingContext::arch_x86_64;
152 EXPECT_EQ(f2->arch, lld::MachOLinkingContext::arch_x86_64);
175 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
204 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
276 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86_64);
406 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_x86);
534 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv6);
674 EXPECT_EQ(f->arch, lld::MachOLinkingContext::arch_armv7);