summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SampleProfile.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-12-14 22:03:08 +0000
committerDehao Chen <dehao@google.com>2016-12-14 22:03:08 +0000
commitfb699619a0530632028a63ea4f04a6b979712429 (patch)
tree183f0fd10645043cec0327f4762d321469898678 /llvm/lib/Transforms/IPO/SampleProfile.cpp
parent071b0fa06a51f44da8190836b84fc3abf222bf5c (diff)
downloadbcm5719-llvm-fb699619a0530632028a63ea4f04a6b979712429.tar.gz
bcm5719-llvm-fb699619a0530632028a63ea4f04a6b979712429.zip
Fix the bug in r289714 (NFC).
llvm-svn: 289724
Diffstat (limited to 'llvm/lib/Transforms/IPO/SampleProfile.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/SampleProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp
index 4bd01898b68..30eda6b109e 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -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;
OpenPOWER on IntegriCloud