diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2016-06-20 19:31:29 +0200 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2016-06-26 21:11:47 +0000 |
commit | d453275a883b6af4e8c7c45dcc632c3728221047 (patch) | |
tree | 15152527be0d584f82212e97268d05ff319e27df /src/qml/jsruntime/jsruntime.pri | |
parent | 1d872f7ed1c9e0e8b4f34f4449ad7393f5afbec2 (diff) |
Add heaptrack support to qv4mm pool allocator.
When you build qtdeclarative with CONFIG+=heaptrack then the allocations
from the custom pool allocator can be traced with heaptrack. This works
similar to the existing valgrind support.
Change-Id: Ia988380415083aa1346c84c8c64b49ea3e17b7e2
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/jsruntime.pri')
-rw-r--r-- | src/qml/jsruntime/jsruntime.pri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/jsruntime.pri b/src/qml/jsruntime/jsruntime.pri index 6ef92511e2..7b58e60b9d 100644 --- a/src/qml/jsruntime/jsruntime.pri +++ b/src/qml/jsruntime/jsruntime.pri @@ -112,3 +112,7 @@ SOURCES += \ valgrind { DEFINES += V4_USE_VALGRIND } + +heaptrack { + DEFINES += V4_USE_HEAPTRACK +} |