summaryrefslogtreecommitdiff
path: root/source/d/llvm/clang_disable_pgo.patch
blob: c3998798d50b10f546637e6ac4b56a0952155c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./tools/clang/lib/CodeGen/CodeGenPGO.cpp.orig	2018-03-08 19:50:01.115345121 -0600
+++ ./tools/clang/lib/CodeGen/CodeGenPGO.cpp	2018-03-08 19:52:24.016358481 -0600
@@ -22,10 +22,7 @@
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/MD5.h"
 
-static llvm::cl::opt<bool>
-    EnableValueProfiling("enable-value-profiling", llvm::cl::ZeroOrMore,
-                         llvm::cl::desc("Enable value profiling"),
-                         llvm::cl::Hidden, llvm::cl::init(false));
+static bool EnableValueProfiling = false;
 
 using namespace clang;
 using namespace CodeGen;