[PATCH] D16730: [PGO] cc1 option names change for profile instrumentation (NFC)
Rong Xu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 11:35:52 PST 2016
xur created this revision.
xur added reviewers: davidxl, silvas, bogner.
xur added a subscriber: llvm-commits.
This patch is split from http://reviews.llvm.org/D15829.
It changes cc1 option -fprofile-generate to an enum option -fprofile-instrument=,
and it takes Clang as the default (and only, or now) value.
It also changes cc1 options -fprofile-generate= to -fprofile-instrument-path=.
The driver level option -fprofile-generate and -fprofile-generate= are intact.
This change will pave the way to integrate new PGO instrumentation in IR level.
http://reviews.llvm.org/D16730
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16730.46400.patch
Type: text/x-patch
Size: 48973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/18184279/attachment.bin>
More information about the llvm-commits
mailing list