Home
last modified time | relevance | path

Searched refs:archStr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileBinaryReaderTests.cpp30 fromBinary(const uint8_t bytes[], unsigned length, StringRef archStr) { in fromBinary() argument
35 mb, lld::MachOLinkingContext::archFromName(archStr)); in fromBinary()
DMachONormalizedFileBinaryWriterTests.cpp31 std::unique_ptr<NormalizedFile> &nf, StringRef archStr) { in fromBinary() argument
39 mb, lld::MachOLinkingContext::archFromName(archStr)); in fromBinary()
/external/llvm-project/lld/lib/Driver/
DDarwinLdDriver.cpp367 if (llvm::opt::Arg *archStr = parsedArgs.getLastArg(OPT_arch)) { in parse() local
368 arch = MachOLinkingContext::archFromName(archStr->getValue()); in parse()
370 error("unknown arch named '" + Twine(archStr->getValue()) + "'"); in parse()