]> granicus.if.org Git - clang/commit
GCOV: Expose the -coverage-exit-block-before-body flag in clang -cc1
authorJustin Bogner <mail@justinbogner.com>
Mon, 16 Mar 2015 23:52:21 +0000 (23:52 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 16 Mar 2015 23:52:21 +0000 (23:52 +0000)
commit223fbc0d02500d993db29ad04d1ea390c5fb3a36
treea56d3b3540e827cdea73e9fdc5000f2618b0cf68
parented533d64055d28aeba43f1ce50cb21e855f8ce3b
GCOV: Expose the -coverage-exit-block-before-body flag in clang -cc1

This exposes the optional exit block placement logic from r232438 as a
clang -cc1 option. There is a test on the llvm side, but there isn't
really a way to inspect the gcov options from clang to test it here as
well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232439 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/BackendUtil.cpp
lib/Frontend/CompilerInvocation.cpp