From: Mark Wielaard Date: Mon, 8 Sep 2014 09:25:55 +0000 (+0000) Subject: Bug 338803 followup. Only print cross-CU warning when -v is given. X-Git-Tag: svn/VALGRIND_3_10_0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab0c1ec87e6770eecb987d76c84831e8061f143;p=thirdparty%2Fvalgrind.git Bug 338803 followup. Only print cross-CU warning when -v is given. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14492 --- diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index 825df53976..cf1d7239ed 100644 --- a/coregrind/m_debuginfo/readdwarf3.c +++ b/coregrind/m_debuginfo/readdwarf3.c @@ -2558,7 +2558,7 @@ static HChar* get_inlFnName (Int absori, CUConst* cc, Bool td3) || posn < cc->cu_start_offset || posn >= cc->cu_start_offset + cc->unit_length) { static Bool reported = False; - if (!reported) { + if (!reported && VG_(clo_verbosity) > 1) { VG_(message)(Vg_DebugMsg, "Warning: cross-CU LIMITATION: some inlined fn names\n" "might be shown as UnknownInlinedFun\n");