Add valgrind suppression files.

Change-Id: I35626479267de49924038a0aa93103a14f05702a
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Morten Sorvig 2011-10-19 15:06:45 +02:00 committed by Qt by Nokia
parent 6f115edd74
commit a254611ba1
2 changed files with 154 additions and 0 deletions

View File

@ -0,0 +1,138 @@
{
__CFInitialize
Memcheck:Leak
...
fun:dyld::__CFInitialize
}
{
_objc_init
Memcheck:Leak
...
fun:_objc_init
}
{
dyld::initializeMainExecutable
Memcheck:Leak
...
fun:dyld::initializeMainExecutable
}
{
dyld::_dyld_start
Memcheck:Leak
...
fun:_dyld_start
}
{
_dispatch_mgr_thread
Memcheck:Leak
...
fun:_dispatch_mgr_thread
}
{
_Gestalt_SystemVersion
Memcheck:Leak
...
fun:_Gestalt_SystemVersion
}
{
_Gestalt_SystemVersion
Memcheck:Leak
...
fun:start_wqthread
}
{
CGColorSpaceAdjustColor
Memcheck:Cond
fun:CGColorSpaceAdjustColor
...
}
{
CGSBlendRGBA8888toRGBA8888
Memcheck:Cond
fun:CGSBlendRGBA8888toRGBA8888
...
}
{
CGSConvertRGBX8888toRGBA8888
Memcheck:Cond
fun:CGSConvertRGBX8888toRGBA8888
...
}
{
WindowData::GetGlobalBounds
Memcheck:Cond
fun:WindowData::GetGlobalBounds*
...
}
{
WindowData::ResetPlatformWindowShape
Memcheck:Cond
fun:WindowData::ResetPlatformWindowShape
...
}
{
WindowData::UpdateColorSpace
Memcheck:Cond
fun:WindowData::WindowData::UpdateColorSpace*
...
}
{
WindowData::CUIRenderer::CreateImage
Memcheck:Cond
fun:WindowData::WindowData::CUIRenderer::CreateImage
...
}
{
WindowData::floor$fenv_access_off
Memcheck:Cond
fun:WindowData::floor$fenv_access_off
...
}
{
WindowData::SyncAutoTermination
Memcheck:Cond
fun:WindowData::SyncAutoTermination
...
}
{
FlushWindowObject
Memcheck:Cond
fun:FlushWindowObject
...
}
{
_HIDataConvert
Memcheck:Cond
fun:_HIDataConvert
...
}
{
GetPlatformWindowBoundsCommon
Memcheck:Cond
fun:GetPlatformWindowBoundsCommon
...
}
{
CGSBlend
Memcheck:Value8
fun:CGSBlend*
...
}
{
sseCG
Memcheck:Value8
fun:sseCG*
...
}
{
argb32_image_mark_rgb32
Memcheck:Value8
fun:argb32_image_mark_rgb32
...
}

16
util/valgrind/usage_mac Normal file
View File

@ -0,0 +1,16 @@
Valgrind on Mac instructions.
As of Sept 16 2011, a patched version of valgrind can be used on OS X 10.7 Lion.
1) Check out valgrind rev 12025 from source:
svn co svn://svn.valgrind.org/valgrind/trunk@12025 valgrind
2) Download patch: https://bugs.kde.org/show_bug.cgi?id=275168#c20
3) Apply patch and build valgrind (see http://valgrind.org/downloads/repository.html)
Important: Use gcc-4.2 for building (export CC=gcc-4.2 before running configure)
Supression file : suppressions_mac
Tested with valgrind command line: valgrind --log-file=log --show-reachable=yes --num-callers=50 --error-limit=no --leak-check=full --suppressions=suppressions_mac /Volumes/Build/qt5/qtbase/examples/widgets/calculator/calculator.app/Contents/MacOS/calculator