components/llvm/patches/000-solaris-LLVM-libLLVMTransforms.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 24 Oct 2016 23:32:49 -0700
changeset 7209 d19b72e9391b
parent 6512 92717ce71105
permissions -rw-r--r--
23245313 Move gnome-terminal to Userland and update to 3.18.2 PSARC/2016/375 GNOME apps and icons

# 24314638 LLVM CommandLine subsystem is busted
# 3.9.X for upstream.
--- lib/Transforms/Instrumentation/GCOVProfiling.cpp	2016-01-25 14:24:50.000000000 -0800
+++ lib/Transforms/Instrumentation/GCOVProfiling.cpp	2016-05-11 19:11:39.817769093 -0700
@@ -45,10 +45,14 @@
 #define DEBUG_TYPE "insert-gcov-profiling"
 
 static cl::opt<std::string>
-DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden,
-                   cl::ValueRequired);
-static cl::opt<bool> DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
-                                                cl::init(false), cl::Hidden);
+DefaultGCOVVersion("default-gcov-version",
+                   cl::init(std::string("402*")),
+                   cl::Hidden, cl::ValueRequired);
+
+static cl::opt<bool>
+DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
+                           cl::init(false),
+                           cl::Hidden);
 
 GCOVOptions GCOVOptions::getDefault() {
   GCOVOptions Options;