[IRMover] Add missing open quote in the warning message
authorSteven Wu <stevenwu@apple.com>
Fri, 9 Oct 2020 22:17:16 +0000 (15:17 -0700)
committerSteven Wu <stevenwu@apple.com>
Fri, 9 Oct 2020 22:17:16 +0000 (15:17 -0700)
Fix the missing single quotation mark in the warning message for
target triple mismatch.

llvm/lib/Linker/IRMover.cpp

index cb4146a..1a090e8 100644 (file)
@@ -1430,7 +1430,7 @@ Error IRLinker::run() {
 
   if (!SrcM->getTargetTriple().empty()&&
       !SrcTriple.isCompatibleWith(DstTriple))
-    emitWarning("Linking two modules of different target triples: " +
+    emitWarning("Linking two modules of different target triples: '" +
                 SrcM->getModuleIdentifier() + "' is '" +
                 SrcM->getTargetTriple() + "' whereas '" +
                 DstM.getModuleIdentifier() + "' is '" + DstM.getTargetTriple() +