From 7ab0c1ec87e6770eecb987d76c84831e8061f143 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 8 Sep 2014 09:25:55 +0000 Subject: [PATCH] Bug 338803 followup. Only print cross-CU warning when -v is given. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14492 --- coregrind/m_debuginfo/readdwarf3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.47.2