Home
last modified time | relevance | path

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

/external/llvm/lib/Linker/
DLinkModules.cpp1457 static std::string mergeTriples(const Triple &SrcTriple, const Triple &DstTriple) { in mergeTriples() argument
1459 if (SrcTriple.getVendor() == Triple::Apple) in mergeTriples()
1460 if (DstTriple.isOSVersionLT(SrcTriple)) in mergeTriples()
1461 return SrcTriple.str(); in mergeTriples()
1487 Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM->getTargetTriple()); in run() local
1489 if (!SrcM->getTargetTriple().empty() && !triplesMatch(SrcTriple, DstTriple)) in run()
1496 DstM->setTargetTriple(mergeTriples(SrcTriple, DstTriple)); in run()