[llvm-branch-commits] [cfe-branch] r236437 - Revert "Merging r232439:"

Tom Stellard thomas.stellard at amd.com
Mon May 4 11:23:44 PDT 2015


Author: tstellar
Date: Mon May  4 13:23:43 2015
New Revision: 236437

URL: http://llvm.org/viewvc/llvm-project?rev=236437&view=rev
Log:
Revert "Merging r232439:"

This reverts commit r236305.

This commit requires an ABI change to LLVM, which is not allowed for
stable releases.

Modified:
    cfe/branches/release_36/include/clang/Driver/CC1Options.td
    cfe/branches/release_36/include/clang/Frontend/CodeGenOptions.def
    cfe/branches/release_36/lib/CodeGen/BackendUtil.cpp
    cfe/branches/release_36/lib/Frontend/CompilerInvocation.cpp

Modified: cfe/branches/release_36/include/clang/Driver/CC1Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_36/include/clang/Driver/CC1Options.td?rev=236437&r1=236436&r2=236437&view=diff
==============================================================================
--- cfe/branches/release_36/include/clang/Driver/CC1Options.td (original)
+++ cfe/branches/release_36/include/clang/Driver/CC1Options.td Mon May  4 13:23:43 2015
@@ -182,8 +182,6 @@ def coverage_cfg_checksum : Flag<["-"],
   HelpText<"Emit CFG checksum for functions in .gcno files.">;
 def coverage_no_function_names_in_data : Flag<["-"], "coverage-no-function-names-in-data">,
   HelpText<"Emit function names in .gcda files.">;
-def coverage_exit_block_before_body : Flag<["-"], "coverage-exit-block-before-data">,
-  HelpText<"Emit the exit block before the body blocks in .gcno files.">;
 def coverage_version_EQ : Joined<["-"], "coverage-version=">,
   HelpText<"Four-byte version string for gcov files.">;
 def test_coverage : Flag<["-"], "test-coverage">,

Modified: cfe/branches/release_36/include/clang/Frontend/CodeGenOptions.def
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_36/include/clang/Frontend/CodeGenOptions.def?rev=236437&r1=236436&r2=236437&view=diff
==============================================================================
--- cfe/branches/release_36/include/clang/Frontend/CodeGenOptions.def (original)
+++ cfe/branches/release_36/include/clang/Frontend/CodeGenOptions.def Mon May  4 13:23:43 2015
@@ -35,7 +35,6 @@ CODEGENOPT(AsmVerbose        , 1, 0) ///
 CODEGENOPT(ObjCAutoRefCountExceptions , 1, 0) ///< Whether ARC should be EH-safe.
 CODEGENOPT(CoverageExtraChecksum, 1, 0) ///< Whether we need a second checksum for functions in GCNO files.
 CODEGENOPT(CoverageNoFunctionNamesInData, 1, 0) ///< Do not include function names in GCDA files.
-CODEGENOPT(CoverageExitBlockBeforeBody, 1, 0) ///< Whether to emit the exit block before the body blocks in GCNO files.
 CODEGENOPT(CUDAIsDevice      , 1, 0) ///< Set when compiling for CUDA device.
 CODEGENOPT(CXAAtExit         , 1, 1) ///< Use __cxa_atexit for calling destructors.
 CODEGENOPT(CXXCtorDtorAliases, 1, 0) ///< Emit complete ctors/dtors as linker

Modified: cfe/branches/release_36/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_36/lib/CodeGen/BackendUtil.cpp?rev=236437&r1=236436&r2=236437&view=diff
==============================================================================
--- cfe/branches/release_36/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/branches/release_36/lib/CodeGen/BackendUtil.cpp Mon May  4 13:23:43 2015
@@ -375,7 +375,6 @@ void EmitAssemblyHelper::CreatePasses()
     Options.NoRedZone = CodeGenOpts.DisableRedZone;
     Options.FunctionNamesInData =
         !CodeGenOpts.CoverageNoFunctionNamesInData;
-    Options.ExitBlockBeforeBody = CodeGenOpts.CoverageExitBlockBeforeBody;
     MPM->add(createGCOVProfilerPass(Options));
     if (CodeGenOpts.getDebugInfo() == CodeGenOptions::NoDebugInfo)
       MPM->add(createStripSymbolsPass(true));

Modified: cfe/branches/release_36/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_36/lib/Frontend/CompilerInvocation.cpp?rev=236437&r1=236436&r2=236437&view=diff
==============================================================================
--- cfe/branches/release_36/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/branches/release_36/lib/Frontend/CompilerInvocation.cpp Mon May  4 13:23:43 2015
@@ -489,8 +489,6 @@ static bool ParseCodeGenArgs(CodeGenOpti
     Opts.CoverageExtraChecksum = Args.hasArg(OPT_coverage_cfg_checksum);
     Opts.CoverageNoFunctionNamesInData =
         Args.hasArg(OPT_coverage_no_function_names_in_data);
-    Opts.CoverageExitBlockBeforeBody =
-        Args.hasArg(OPT_coverage_exit_block_before_body);
     if (Args.hasArg(OPT_coverage_version_EQ)) {
       StringRef CoverageVersion = Args.getLastArgValue(OPT_coverage_version_EQ);
       if (CoverageVersion.size() != 4) {





More information about the llvm-branch-commits mailing list