]> granicus.if.org Git - clang/commit
[PGO] cc1 option name change for profile instrumentation
authorRong Xu <xur@google.com>
Thu, 4 Feb 2016 18:39:09 +0000 (18:39 +0000)
committerRong Xu <xur@google.com>
Thu, 4 Feb 2016 18:39:09 +0000 (18:39 +0000)
commitbf1d31e84aa2722174da56b8aff311ae04f4d9e1
tree136ff89e0fab737006c3fb7bcf8387655ba03eca
parent67e7611e1ae0b3cccaaaa0f22c2185abac5d956e
[PGO] cc1 option name change for profile instrumentation

This patch changes cc1 option -fprofile-instr-generate to an enum option
-fprofile-instrument={clang|none}. It also changes cc1 options
-fprofile-instr-generate= to -fprofile-instrument-path=.
The driver level option -fprofile-instr-generate and -fprofile-instr-generate=
remain intact. This change will pave the way to integrate new PGO
instrumentation in IR level.

Review: http://reviews.llvm.org/D16730

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259811 91177308-0d34-0410-b5e6-96231b3b80d8
70 files changed:
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenPGO.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CoverageMapping/block-storage-starts-region.m
test/CoverageMapping/break.c
test/CoverageMapping/builtinmacro.c
test/CoverageMapping/casts.c
test/CoverageMapping/classtemplate.cpp
test/CoverageMapping/comment-in-macro.c
test/CoverageMapping/continue.c
test/CoverageMapping/control-flow-macro.c
test/CoverageMapping/decl.c
test/CoverageMapping/header.cpp
test/CoverageMapping/if.c
test/CoverageMapping/implicit-def-in-macro.m
test/CoverageMapping/includehell.cpp
test/CoverageMapping/ir.c
test/CoverageMapping/label.cpp
test/CoverageMapping/lambda.cpp
test/CoverageMapping/logical.cpp
test/CoverageMapping/loopmacro.c
test/CoverageMapping/loops.cpp
test/CoverageMapping/macro-expansion.c
test/CoverageMapping/macro-expressions.cpp
test/CoverageMapping/macroception.c
test/CoverageMapping/macroparams.c
test/CoverageMapping/macroparams2.c
test/CoverageMapping/macros.c
test/CoverageMapping/macroscopes.cpp
test/CoverageMapping/md.cpp
test/CoverageMapping/moremacros.c
test/CoverageMapping/nestedclass.cpp
test/CoverageMapping/objc.m
test/CoverageMapping/preprocessor.c
test/CoverageMapping/return.c
test/CoverageMapping/switch.c
test/CoverageMapping/switchmacro.c
test/CoverageMapping/system_macro.c
test/CoverageMapping/templates.cpp
test/CoverageMapping/test.c
test/CoverageMapping/trycatch.cpp
test/CoverageMapping/trymacro.cpp
test/CoverageMapping/unreachable-macro.c
test/CoverageMapping/unused_names.c
test/CoverageMapping/while.c
test/Driver/clang_f_opts.c
test/Profile/c-captured.c
test/Profile/c-general.c
test/Profile/c-generate.c
test/Profile/c-indirect-call.c
test/Profile/c-linkage-available_externally.c
test/Profile/c-linkage.c
test/Profile/c-unreachable-after-switch.c
test/Profile/cxx-implicit.cpp
test/Profile/cxx-lambda.cpp
test/Profile/cxx-linkage.cpp
test/Profile/cxx-rangefor.cpp
test/Profile/cxx-structors.cpp
test/Profile/cxx-templates.cpp
test/Profile/cxx-virtual-destructor-calls.cpp
test/Profile/objc-general.m