]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 338803 followup. Only print cross-CU warning when -v is given.
authorMark Wielaard <mark@klomp.org>
Mon, 8 Sep 2014 09:25:55 +0000 (09:25 +0000)
committerMark Wielaard <mark@klomp.org>
Mon, 8 Sep 2014 09:25:55 +0000 (09:25 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14492

coregrind/m_debuginfo/readdwarf3.c

index 825df53976f53d6ba927d661c956481dd98a043d..cf1d7239edf9735264f455af84c84fae3d9ec5ae 100644 (file)
@@ -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");