[llvm] r246087 - [libFuzzer] fix minor inefficiency, PR24584
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 14:55:20 PDT 2015
Author: kcc
Date: Wed Aug 26 16:55:19 2015
New Revision: 246087
URL: http://llvm.org/viewvc/llvm-project?rev=246087&view=rev
Log:
[libFuzzer] fix minor inefficiency, PR24584
Modified:
llvm/trunk/lib/Fuzzer/FuzzerIO.cpp
Modified: llvm/trunk/lib/Fuzzer/FuzzerIO.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerIO.cpp?rev=246087&r1=246086&r2=246087&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerIO.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerIO.cpp Wed Aug 26 16:55:19 2015
@@ -32,7 +32,7 @@ static std::vector<std::string> ListFile
long *Epoch) {
std::vector<std::string> V;
if (Epoch) {
- auto E = GetEpoch(Dir.c_str());
+ auto E = GetEpoch(Dir);
if (*Epoch >= E) return V;
*Epoch = E;
}
More information about the llvm-commits
mailing list