[llvm] 360f275 - [IRMover] Add missing open quote in the warning message
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 15:25:43 PDT 2020
Author: Steven Wu
Date: 2020-10-09T15:17:16-07:00
New Revision: 360f275cb7895205d7debab7a7d7bdceea42fb0c
URL: https://github.com/llvm/llvm-project/commit/360f275cb7895205d7debab7a7d7bdceea42fb0c
DIFF: https://github.com/llvm/llvm-project/commit/360f275cb7895205d7debab7a7d7bdceea42fb0c.diff
LOG: [IRMover] Add missing open quote in the warning message
Fix the missing single quotation mark in the warning message for
target triple mismatch.
Added:
Modified:
llvm/lib/Linker/IRMover.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Linker/IRMover.cpp b/llvm/lib/Linker/IRMover.cpp
index cb4146a05fdf..1a090e81b00f 100644
--- a/llvm/lib/Linker/IRMover.cpp
+++ b/llvm/lib/Linker/IRMover.cpp
@@ -1430,7 +1430,7 @@ Error IRLinker::run() {
if (!SrcM->getTargetTriple().empty()&&
!SrcTriple.isCompatibleWith(DstTriple))
- emitWarning("Linking two modules of
diff erent target triples: " +
+ emitWarning("Linking two modules of
diff erent target triples: '" +
SrcM->getModuleIdentifier() + "' is '" +
SrcM->getTargetTriple() + "' whereas '" +
DstM.getModuleIdentifier() + "' is '" + DstM.getTargetTriple() +
More information about the llvm-commits
mailing list