summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2017-06-02 17:00:50 +0200
committerMilian Wolff <milian.wolff@kdab.com>2017-09-04 15:50:33 +0000
commit1e07e1e70df76e433d2d24e46291b4a93335b303 (patch)
treef39a2fb05a3c2b8b2a47e05e0b806598da51a956
parent46e8fa84837f79150d7aaf2812f5abf6d6fb2a51 (diff)
Demote the memoryRead overflow qWarning to a qDebug statement
These warnings occur quite often and seem to be expected. Spamming the console with harmless warning output is not good practice, so demote the harmless issues to debug output. Change-Id: Iccb402f9e2cb0b1718325d7efa44994223a73d8f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--app/perfsymboltable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index b11bdcf..604d68e 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -147,7 +147,7 @@ static bool memoryRead(Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, void *ar
/* Check overflow. */
if (addr + sizeof(Dwarf_Word) < addr) {
- qWarning() << "Invalid memory read requested by dwfl" << addr;
+ qDebug() << "Invalid memory read requested by dwfl" << addr;
ui->firstGuessedFrame = ui->frames.length();
return false;
}