Skip to content

Commit bea56b9

Browse files
author
Andres Wearden
committed
updated compiler error
1 parent 6cdb2e1 commit bea56b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/llvm-profdata/llvm-profdata.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static void
720720
loadInput(const WeightedFile &Input, SymbolRemapper *Remapper,
721721
const InstrProfCorrelator *Correlator, const StringRef ProfiledBinary,
722722
WriterContext *WC, const object::BuildIDFetcher *BIDFetcher = nullptr,
723-
const ProfCorrelatorKind *BIDFetcherCorrelatorKind = nullptr, StringRef ObjectFilename = "") {
723+
const ProfCorrelatorKind *BIDFetcherCorrelatorKind = nullptr, StringRef ObjectAwareHashing = "") {
724724
std::unique_lock<std::mutex> CtxGuard{WC->Lock};
725725

726726
// Copy the filename, because llvm::ThreadPool copied the input "const
@@ -738,7 +738,7 @@ loadInput(const WeightedFile &Input, SymbolRemapper *Remapper,
738738
// StringRef ExeRef, ProfRef;
739739
// std::tie(ExeRef, ProfRef) = FilenameRef.split(':');
740740
// if(!ExeRef.empty() && !ProfRef.empty()){
741-
ObjectFilename = ObjectFilename.data();
741+
ObjectFilename = ObjectAwareHashing.data();
742742
// ProfileFile = ProfRef.str();
743743
// }
744744
// Expected<std::string> ArchOrError = getArchitectureFromExecutable(ExeRef);

0 commit comments

Comments
 (0)