Skip to content

Commit d3b69c6

Browse files
Fix few typos in comments (write access test commit)
llvm-svn: 336887
1 parent 2e334e0 commit d3b69c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class CompileOnDemandLayer {
369369
// simplifying symbol lookup.
370370
LD.StaticRenamer.rename(*SrcMPtr);
371371

372-
// Bump the linkage and rename any anonymous/privote members in SrcM to
372+
// Bump the linkage and rename any anonymous/private members in SrcM to
373373
// ensure that everything will resolve properly after we partition SrcM.
374374
makeAllSymbolsExternallyAccessible(*SrcMPtr);
375375

llvm/include/llvm/IR/ModuleSummaryIndex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ class ModuleSummaryIndex {
10821082
return &I->second;
10831083
}
10841084

1085-
/// Collect for the given module the list of function it defines
1085+
/// Collect for the given module the list of functions it defines
10861086
/// (GUID -> Summary).
10871087
void collectDefinedFunctionsForModule(StringRef ModulePath,
10881088
GVSummaryMapTy &GVSummaryMap) const;

llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ void moveGlobalVariableInitializer(GlobalVariable &OrigGV,
323323
assert(VMap[&OrigGV] == NewGV &&
324324
"Incorrect global variable mapping in VMap.");
325325
assert(NewGV->getParent() != OrigGV.getParent() &&
326-
"moveGlobalVariable should only be used to move initializers between "
327-
"modules");
326+
"moveGlobalVariableInitializer should only be used to move "
327+
"initializers between modules");
328328

329329
NewGV->setInitializer(MapValue(OrigGV.getInitializer(), VMap, RF_None,
330330
nullptr, Materializer));

0 commit comments

Comments
 (0)