summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-08-09 15:35:28 +0000
committerXinliang David Li <davidxl@google.com>2016-08-09 15:35:28 +0000
commit9035cfceef380fdc401e0188f321b48172f12a2b (patch)
treef3bfc92b5c2bdbcb2a142f473c1087c462c2cff3 /llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
parentb06ff4574e22bf997aa741bc09fc143c265b1816 (diff)
downloadbcm5719-llvm-9035cfceef380fdc401e0188f321b48172f12a2b.tar.gz
bcm5719-llvm-9035cfceef380fdc401e0188f321b48172f12a2b.zip
[Profile] turn off verbose warnings by default
no prof data for func warning is turned off by default due to its high verbosity and minimal usefulness. Differential Revision: http://reviews.llvm.org/D23295 llvm-svn: 278127
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
index f8bedb2ce36..83309f3e23b 100644
--- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
@@ -124,7 +124,7 @@ static cl::opt<bool> DoComdatRenaming(
// Command line option to enable/disable the warning about missing profile
// information.
-static cl::opt<bool> NoPGOWarnMissing("no-pgo-warn-missing", cl::init(false),
+static cl::opt<bool> NoPGOWarnMissing("no-pgo-warn-missing", cl::init(true),
cl::Hidden);
// Command line option to enable/disable the warning about a hash mismatch in
OpenPOWER on IntegriCloud