Fix few typos in comments (write access test commit)
llvm-svn: 336887
This commit is contained in:
parent
2e334e065d
commit
d3b69c6be9
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue