[JITLink] Fix whitespace in debug dumps (NFC)
authorStefan Gränitz <stefan.graenitz@gmail.com>
Tue, 14 Feb 2023 14:01:51 +0000 (15:01 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Wed, 15 Feb 2023 09:54:51 +0000 (10:54 +0100)
llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h
llvm/include/llvm/ExecutionEngine/JITLink/i386.h
llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h

index 28996cb..1b307ff 100644 (file)
@@ -38,7 +38,7 @@ public:
     if (EntryI == Entries.end()) {
       auto &Entry = impl().createEntry(G, Target);
       DEBUG_WITH_TYPE("jitlink", {
-        dbgs() << "    Created " << impl().getSectionName() << "entry for "
+        dbgs() << "    Created " << impl().getSectionName() << " entry for "
                << Target.getName() << ": " << Entry << "\n";
       });
       EntryI = Entries.insert(std::make_pair(Target.getName(), &Entry)).first;
index 1499b40..adfdabf 100644 (file)
@@ -283,7 +283,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
   default:
     return make_error<JITLinkError>(
         "In graph " + G.getName() + ", section " + B.getSection().getName() +
-        "unsupported edge kind" + getEdgeKindName(E.getKind()));
+        " unsupported edge kind " + getEdgeKindName(E.getKind()));
   }
 
   return Error::success();
index 8e1fbba..d168ce9 100644 (file)
@@ -491,7 +491,7 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E,
   default:
     return make_error<JITLinkError>(
         "In graph " + G.getName() + ", section " + B.getSection().getName() +
-        "unsupported edge kind" + getEdgeKindName(E.getKind()));
+        " unsupported edge kind " + getEdgeKindName(E.getKind()));
   }
 
   return Error::success();