[llvm] 1c42f8e - [JITLink] Fix whitespace in debug dumps (NFC)

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 01:55:23 PST 2023


Author: Stefan Gränitz
Date: 2023-02-15T10:54:51+01:00
New Revision: 1c42f8e69d8fb524d4c07c5134df1a9a121d2d86

URL: https://github.com/llvm/llvm-project/commit/1c42f8e69d8fb524d4c07c5134df1a9a121d2d86
DIFF: https://github.com/llvm/llvm-project/commit/1c42f8e69d8fb524d4c07c5134df1a9a121d2d86.diff

LOG: [JITLink] Fix whitespace in debug dumps (NFC)

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h
    llvm/include/llvm/ExecutionEngine/JITLink/i386.h
    llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h b/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h
index 28996cbea35b..1b307ff92a04 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h
@@ -38,7 +38,7 @@ template <typename TableManagerImplT> class TableManager {
     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;

diff  --git a/llvm/include/llvm/ExecutionEngine/JITLink/i386.h b/llvm/include/llvm/ExecutionEngine/JITLink/i386.h
index 1499b402cbbb..adfdabf44f01 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/i386.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/i386.h
@@ -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();

diff  --git a/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h b/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
index 8e1fbba4e173..d168ce9947ff 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
@@ -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();


        


More information about the llvm-commits mailing list