From ae80745b73e435d07e7fb9c12589304ee29e7f59 Mon Sep 17 00:00:00 2001 From: Stefan Granitz Date: Thu, 12 Jul 2018 06:41:41 +0000 Subject: [PATCH] Fix few typos in comments (write access test commit) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336887 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h | 2 +- include/llvm/IR/ModuleSummaryIndex.h | 2 +- lib/ExecutionEngine/Orc/IndirectionUtils.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h index 3f298108190..0b5bddf8da9 100644 --- a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h +++ b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h @@ -369,7 +369,7 @@ private: // simplifying symbol lookup. LD.StaticRenamer.rename(*SrcMPtr); - // Bump the linkage and rename any anonymous/privote members in SrcM to + // Bump the linkage and rename any anonymous/private members in SrcM to // ensure that everything will resolve properly after we partition SrcM. makeAllSymbolsExternallyAccessible(*SrcMPtr); diff --git a/include/llvm/IR/ModuleSummaryIndex.h b/include/llvm/IR/ModuleSummaryIndex.h index 0943ffcdc38..fdf3d4b5f1c 100644 --- a/include/llvm/IR/ModuleSummaryIndex.h +++ b/include/llvm/IR/ModuleSummaryIndex.h @@ -1082,7 +1082,7 @@ public: return &I->second; } - /// Collect for the given module the list of function it defines + /// Collect for the given module the list of functions it defines /// (GUID -> Summary). void collectDefinedFunctionsForModule(StringRef ModulePath, GVSummaryMapTy &GVSummaryMap) const; diff --git a/lib/ExecutionEngine/Orc/IndirectionUtils.cpp b/lib/ExecutionEngine/Orc/IndirectionUtils.cpp index dc9628f183e..9ca2c5cb4a5 100644 --- a/lib/ExecutionEngine/Orc/IndirectionUtils.cpp +++ b/lib/ExecutionEngine/Orc/IndirectionUtils.cpp @@ -323,8 +323,8 @@ void moveGlobalVariableInitializer(GlobalVariable &OrigGV, assert(VMap[&OrigGV] == NewGV && "Incorrect global variable mapping in VMap."); assert(NewGV->getParent() != OrigGV.getParent() && - "moveGlobalVariable should only be used to move initializers between " - "modules"); + "moveGlobalVariableInitializer should only be used to move " + "initializers between modules"); NewGV->setInitializer(MapValue(OrigGV.getInitializer(), VMap, RF_None, nullptr, Materializer)); -- 2.11.0