]> granicus.if.org Git - llvm/commitdiff
Fix few typos in comments (write access test commit)
authorStefan Granitz <stefan.graenitz@gmail.com>
Thu, 12 Jul 2018 06:41:41 +0000 (06:41 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Thu, 12 Jul 2018 06:41:41 +0000 (06:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336887 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/llvm/IR/ModuleSummaryIndex.h
lib/ExecutionEngine/Orc/IndirectionUtils.cpp

index 3f29810819038fc89d8c44b88e3b08d635f3070d..0b5bddf8da9ad8b6d5f7b63ebc6d2187af769423 100644 (file)
@@ -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);
 
index 0943ffcdc3834e28102ba769ea7358a29a06b6a5..fdf3d4b5f1ce79eb1042f8bfa390c08bd97a9032 100644 (file)
@@ -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;
index dc9628f183e7f3996f1a408f26502a14e0afeafd..9ca2c5cb4a55657bff8371c7ef82565f8233e9e5 100644 (file)
@@ -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));