Skip to content

Commit b88e0bc

Browse files
author
Andres Wearden
committed
saving changes
1 parent 8bb632a commit b88e0bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/include/llvm/ProfileData/InstrProfReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class InstrProfReader {
106106
/// Read a single record.
107107
virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0;
108108

109-
/// Read a list of binary ids.
109+
/// Read a list of biny ids.
110110
virtual Error readBinaryIds(std::vector<llvm::object::BuildID> &BinaryIds) {
111111
return success();
112112
}

llvm/lib/ProfileData/InstrProf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ Error readAndDecodeStrings(StringRef NameStrings,
608608
StringRef ArchRef(Architecture);
609609
NameStrings.split(Names, getInstrProfNameSeparator());
610610
for (StringRef &Name : Names)
611-
if (Error E = NameCallback(Name.str()+ ":" + ArchRef.str()*/))
611+
if (Error E = NameCallback(Name.str()+ ":" + ArchRef.str()))
612612
return E;
613613

614614
while (P < EndP && *P == 0)

llvm/lib/ProfileData/InstrProfReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ Error RawInstrProfReader<IntPtrT>::readNextHeader(const char *CurrentPos) {
556556
template <class IntPtrT>
557557
Error RawInstrProfReader<IntPtrT>::createSymtab(InstrProfSymtab &Symtab) { //STEP 5
558558

559-
Symtab.setArchitecture(Architecture)
559+
Symtab.setArchitecture(Architecture);
560560

561561
if (Error E = Symtab.create(StringRef(NamesStart, NamesEnd - NamesStart),
562562
StringRef(VNamesStart, VNamesEnd - VNamesStart)))

0 commit comments

Comments
 (0)