]> granicus.if.org Git - llvm/commitdiff
Fix a mistake in rL351392.
authorWei Mi <wmi@google.com>
Wed, 16 Jan 2019 23:31:40 +0000 (23:31 +0000)
committerWei Mi <wmi@google.com>
Wed, 16 Jan 2019 23:31:40 +0000 (23:31 +0000)
PGOInstrGen should be initialized to "" instead of false.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351397 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/PassManagerBuilder.cpp

index cbf46ff5c5d0953434b5b87da114bd825f3772fd..b92d3ba4f48e5e95c99ef02d7ab9238ae48c2e44 100644 (file)
@@ -162,7 +162,7 @@ PassManagerBuilder::PassManagerBuilder() {
     MergeFunctions = false;
     PrepareForLTO = false;
     EnablePGOInstrGen = false;
-    PGOInstrGen = false;
+    PGOInstrGen = "";
     PGOInstrUse = "";
     PGOSampleUse = "";
     PrepareForThinLTO = EnablePrepareForThinLTO;