aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]doc/images/analyzer-issues.pngbin18296 -> 75473 bytes
-rwxr-xr-x[-rw-r--r--]doc/images/qtcreator-valgrind-memcheck-options.pngbin4070 -> 28803 bytes
-rw-r--r--doc/src/analyze/creator-valgrind.qdoc19
3 files changed, 19 insertions, 0 deletions
diff --git a/doc/images/analyzer-issues.png b/doc/images/analyzer-issues.png
index c60f86607c..7bcaeeecf6 100644..100755
--- a/doc/images/analyzer-issues.png
+++ b/doc/images/analyzer-issues.png
Binary files differ
diff --git a/doc/images/qtcreator-valgrind-memcheck-options.png b/doc/images/qtcreator-valgrind-memcheck-options.png
index baca54ecf6..a102b61367 100644..100755
--- a/doc/images/qtcreator-valgrind-memcheck-options.png
+++ b/doc/images/qtcreator-valgrind-memcheck-options.png
Binary files differ
diff --git a/doc/src/analyze/creator-valgrind.qdoc b/doc/src/analyze/creator-valgrind.qdoc
index b0272c9a3f..7d00ae9792 100644
--- a/doc/src/analyze/creator-valgrind.qdoc
+++ b/doc/src/analyze/creator-valgrind.qdoc
@@ -97,6 +97,25 @@
uninitialized memory} check box is selected by default. You can deselect it
to make Memcheck run faster.
+ Memcheck searches for memory leaks when the client application finishes. To
+ view the amount of leaks that occurred, select \gui {Summary Only} in the
+ \gui {Check for leaks on finish} field. To also view details of each leak,
+ select \gui Full.
+
+ \section2 Showing Reachable and Indirectly Lost Blocks
+
+ \e Reachable blocks are blocks that are pointed at by a pointer or chain
+ of pointers and that might have been freed before the application exited.
+ \e {Indirectly lost} blocks are considered lost because all the blocks that
+ point to them are themselves lost. For example, all the children of a lost
+ root node are indirectly lost.
+
+ By default, Memcheck does not report reachable and indirectly lost blocks.
+ To have them reported, select the \gui {Show reachable and indirectly lost
+ blocks}.
+
+ \section2 Suppressing Errors
+
Memcheck detects numerous problems in the system libraries, such as the C
library, which come pre-installed with your OS. As you cannot easily fix
them, you want to suppress them. Valgrind reads a list of errors to suppress