Skip to content

Commit 06a4969

Browse files
committed
Address comments from ellishg
1 parent 7869666 commit 06a4969

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/CGData/CodeGenDataReader.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ Error CodeGenDataReader::mergeFromObjectFile(
3535
StableFunctionMapRecord &GlobalFunctionMapRecord,
3636
stable_hash *CombinedHash) {
3737
Triple TT = Obj->makeTriple();
38-
auto CGOutLineName =
38+
auto CGOutlineName =
3939
getCodeGenDataSectionName(CG_outline, TT.getObjectFormat(), false);
4040
auto CGMergeName =
4141
getCodeGenDataSectionName(CG_merge, TT.getObjectFormat(), false);
4242

4343
auto processSectionContents = [&](const StringRef &Name,
4444
const StringRef &Contents) {
45-
if (Name != CGOutLineName && Name != CGMergeName)
45+
if (Name != CGOutlineName && Name != CGMergeName)
4646
return;
4747
if (CombinedHash)
4848
*CombinedHash = stable_hash_combine(*CombinedHash, xxh3_64bits(Contents));
@@ -52,7 +52,7 @@ Error CodeGenDataReader::mergeFromObjectFile(
5252
// we want to merge them into a single cgdata.
5353
// Although it's not a typical workflow, we support this scenario
5454
// by looping over all data in the sections.
55-
if (Name == CGOutLineName) {
55+
if (Name == CGOutlineName) {
5656
while (Data != EndData) {
5757
OutlinedHashTreeRecord LocalOutlineRecord;
5858
LocalOutlineRecord.deserialize(Data);

0 commit comments

Comments
 (0)