[llvm] r289724 - Fix the bug in r289714 (NFC).
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 14:03:09 PST 2016
Author: dehao
Date: Wed Dec 14 16:03:08 2016
New Revision: 289724
URL: http://llvm.org/viewvc/llvm-project?rev=289724&view=rev
Log:
Fix the bug in r289714 (NFC).
Modified:
llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp
Modified: llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp?rev=289724&r1=289723&r2=289724&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/SampleProfile.cpp Wed Dec 14 16:03:08 2016
@@ -224,7 +224,7 @@ protected:
FunctionSamples *Samples;
/// \brief Name of the profile file to load.
- StringRef Filename;
+ std::string Filename;
/// \brief Flag indicating whether the profile input loaded successfully.
bool ProfileIsValid;
More information about the llvm-commits
mailing list