components/llvm/patches/000-solaris-LLVM-libLLVMTransforms.patch
changeset 6512 92717ce71105
equal deleted inserted replaced
6511:d283aa33e131 6512:92717ce71105
       
     1 # 24314638 LLVM CommandLine subsystem is busted
       
     2 # 3.9.X for upstream.
       
     3 --- lib/Transforms/Instrumentation/GCOVProfiling.cpp	2016-01-25 14:24:50.000000000 -0800
       
     4 +++ lib/Transforms/Instrumentation/GCOVProfiling.cpp	2016-05-11 19:11:39.817769093 -0700
       
     5 @@ -45,10 +45,14 @@
       
     6  #define DEBUG_TYPE "insert-gcov-profiling"
       
     7  
       
     8  static cl::opt<std::string>
       
     9 -DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden,
       
    10 -                   cl::ValueRequired);
       
    11 -static cl::opt<bool> DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
       
    12 -                                                cl::init(false), cl::Hidden);
       
    13 +DefaultGCOVVersion("default-gcov-version",
       
    14 +                   cl::init(std::string("402*")),
       
    15 +                   cl::Hidden, cl::ValueRequired);
       
    16 +
       
    17 +static cl::opt<bool>
       
    18 +DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
       
    19 +                           cl::init(false),
       
    20 +                           cl::Hidden);
       
    21  
       
    22  GCOVOptions GCOVOptions::getDefault() {
       
    23    GCOVOptions Options;