aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-07-06 21:08:39 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-07-07 08:42:06 +0000
commit69d20b26b50360221849a4860265150f9c66ef25 (patch)
tree015c696c5d45076255570e0d05ef6fabafdeac9f /src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java
parent8e36c422255a99c8b3a7aac10b2d105294c7fa64 (diff)
Blaze changes to support LLVM profile feedback.
-- MOS_MIGRATED_REVID=97610963
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java
index 02a6eb91a1..7915bb2916 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java
@@ -192,8 +192,8 @@ public class CppOptions extends FragmentOptions {
@Option(name = "thin_archives",
defaultValue = "false",
category = "strategy", // but also adds edges to the action graph
- help = "Pass the 'T' flag to ar if supported by the toolchain. " +
- "All supported toolchains support this setting.")
+ help = "Pass the 'T' flag to ar if supported by the toolchain. "
+ + "All supported toolchains support this setting.")
public boolean useThinArchives;
// O intrepid reaper of unused options: Be warned that the [no]start_end_lib
@@ -353,7 +353,8 @@ public class CppOptions extends FragmentOptions {
category = "flags",
implicitRequirements = {"--copt=-Wno-error"},
help = "Generate binaries with FDO instrumentation. Specify the relative " +
- "directory name for the .gcda files at runtime.")
+ "directory name for the .gcda files at runtime. It also accepts " +
+ "an LLVM profile output file path.")
public PathFragment fdoInstrument;
@Option(name = "fdo_optimize",
@@ -364,7 +365,7 @@ public class CppOptions extends FragmentOptions {
"an auto profile. This flag also accepts files specified as labels, for " +
"example //foo/bar:file.afdo. Such labels must refer to input files; you may " +
"need to add an exports_files directive to the corresponding package to make " +
- "the file visible to Blaze.")
+ "the file visible to Blaze. It also accepts an indexed LLVM profile file.")
public String fdoOptimize;
@Option(name = "autofdo_lipo_data",