]> granicus.if.org Git - llvm/commitdiff
Fix the bug in r289714 (NFC).
authorDehao Chen <dehao@google.com>
Wed, 14 Dec 2016 22:03:08 +0000 (22:03 +0000)
committerDehao Chen <dehao@google.com>
Wed, 14 Dec 2016 22:03:08 +0000 (22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289724 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/SampleProfile.cpp

index 4bd01898b68032de8c626ca95c7655cb4ddb1a77..30eda6b109e1d770959e2da662cc1dded7086dc3 100644 (file)
@@ -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;