[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)
commit9837ef56b45486930a50f4c0b31c37d4f71be957
tree7cc0d30c0332dc59fc670d3c7ca2c038c723f718
parent375882dddb92b4cf9fac72b3388b9c4af35d8ba6
[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
llvm-svn: 259811
70 files changed:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/include/clang/Frontend/CodeGenOptions.h
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenPGO.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CoverageMapping/block-storage-starts-region.m
clang/test/CoverageMapping/break.c
clang/test/CoverageMapping/builtinmacro.c
clang/test/CoverageMapping/casts.c
clang/test/CoverageMapping/classtemplate.cpp
clang/test/CoverageMapping/comment-in-macro.c
clang/test/CoverageMapping/continue.c
clang/test/CoverageMapping/control-flow-macro.c
clang/test/CoverageMapping/decl.c
clang/test/CoverageMapping/header.cpp
clang/test/CoverageMapping/if.c
clang/test/CoverageMapping/implicit-def-in-macro.m
clang/test/CoverageMapping/includehell.cpp
clang/test/CoverageMapping/ir.c
clang/test/CoverageMapping/label.cpp
clang/test/CoverageMapping/lambda.cpp
clang/test/CoverageMapping/logical.cpp
clang/test/CoverageMapping/loopmacro.c
clang/test/CoverageMapping/loops.cpp
clang/test/CoverageMapping/macro-expansion.c
clang/test/CoverageMapping/macro-expressions.cpp
clang/test/CoverageMapping/macroception.c
clang/test/CoverageMapping/macroparams.c
clang/test/CoverageMapping/macroparams2.c
clang/test/CoverageMapping/macros.c
clang/test/CoverageMapping/macroscopes.cpp
clang/test/CoverageMapping/md.cpp
clang/test/CoverageMapping/moremacros.c
clang/test/CoverageMapping/nestedclass.cpp
clang/test/CoverageMapping/objc.m
clang/test/CoverageMapping/preprocessor.c
clang/test/CoverageMapping/return.c
clang/test/CoverageMapping/switch.c
clang/test/CoverageMapping/switchmacro.c
clang/test/CoverageMapping/system_macro.c
clang/test/CoverageMapping/templates.cpp
clang/test/CoverageMapping/test.c
clang/test/CoverageMapping/trycatch.cpp
clang/test/CoverageMapping/trymacro.cpp
clang/test/CoverageMapping/unreachable-macro.c
clang/test/CoverageMapping/unused_names.c
clang/test/CoverageMapping/while.c
clang/test/Driver/clang_f_opts.c
clang/test/Profile/c-captured.c
clang/test/Profile/c-general.c
clang/test/Profile/c-generate.c
clang/test/Profile/c-indirect-call.c
clang/test/Profile/c-linkage-available_externally.c
clang/test/Profile/c-linkage.c
clang/test/Profile/c-unreachable-after-switch.c
clang/test/Profile/cxx-implicit.cpp
clang/test/Profile/cxx-lambda.cpp
clang/test/Profile/cxx-linkage.cpp
clang/test/Profile/cxx-rangefor.cpp
clang/test/Profile/cxx-structors.cpp
clang/test/Profile/cxx-templates.cpp
clang/test/Profile/cxx-virtual-destructor-calls.cpp
clang/test/Profile/objc-general.m