QtTest 3rdparty: update valgrind headers to v23.0

Nothing hugely consequential, although __VALGRIND_MINOR__ was
previously out of step with the version given in qt_attribution.json.

[ChangeLog][Third-Party Code] Updated QtTest's Valgrind headers to
version 3.23.

Fixes: QTBUG-126080
Change-Id: Ie2c9d41d4f35cd497b1dcf9a366cf4b319b361ad
Reviewed-by: Jason McDonald <macadder1@gmail.com>
(cherry picked from commit efab6e69831c7fc8d35f18e211bda20f854f2f39)
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
This commit is contained in:
Edward Welbourne 2024-06-05 17:43:37 +02:00
parent 35062f6510
commit 03a95f5f20
2 changed files with 9 additions and 6 deletions

View File

@ -10,7 +10,7 @@
"Description": "An instrumentation framework for building dynamic analysis tools.", "Description": "An instrumentation framework for building dynamic analysis tools.",
"Homepage": "http://valgrind.org/", "Homepage": "http://valgrind.org/",
"Version": "3.22.0", "Version": "3.23.0",
"License": "BSD 4-clause \"Original\" or \"Old\" License", "License": "BSD 4-clause \"Original\" or \"Old\" License",
"LicenseId": "BSD-4-Clause", "LicenseId": "BSD-4-Clause",
"LicenseFile": "LICENSE.txt", "LicenseFile": "LICENSE.txt",

View File

@ -89,7 +89,7 @@
|| (__VALGRIND_MAJOR__ == 3 && __VALGRIND_MINOR__ >= 6)) || (__VALGRIND_MAJOR__ == 3 && __VALGRIND_MINOR__ >= 6))
*/ */
#define __VALGRIND_MAJOR__ 3 #define __VALGRIND_MAJOR__ 3
#define __VALGRIND_MINOR__ 20 #define __VALGRIND_MINOR__ 23
#include <stdarg.h> #include <stdarg.h>
@ -112,6 +112,7 @@
#undef PLAT_amd64_darwin #undef PLAT_amd64_darwin
#undef PLAT_x86_freebsd #undef PLAT_x86_freebsd
#undef PLAT_amd64_freebsd #undef PLAT_amd64_freebsd
#undef PLAT_arm64_freebsd
#undef PLAT_x86_win32 #undef PLAT_x86_win32
#undef PLAT_amd64_win64 #undef PLAT_amd64_win64
#undef PLAT_x86_linux #undef PLAT_x86_linux
@ -137,6 +138,8 @@
# define PLAT_x86_freebsd 1 # define PLAT_x86_freebsd 1
#elif defined(__FreeBSD__) && defined(__amd64__) #elif defined(__FreeBSD__) && defined(__amd64__)
# define PLAT_amd64_freebsd 1 # define PLAT_amd64_freebsd 1
#elif defined(__FreeBSD__) && defined(__aarch64__) && !defined(__arm__)
# define PLAT_arm64_freebsd 1
#elif (defined(__MINGW32__) && defined(__i386__)) \ #elif (defined(__MINGW32__) && defined(__i386__)) \
|| defined(__CYGWIN32__) \ || defined(__CYGWIN32__) \
|| (defined(_WIN32) && defined(_M_IX86)) || (defined(_WIN32) && defined(_M_IX86))
@ -768,9 +771,9 @@ typedef
#endif /* PLAT_arm_linux */ #endif /* PLAT_arm_linux */
/* ------------------------ arm64-linux ------------------------- */ /* ------------------------ arm64-{linux,freebsd} ------------------------- */
#if defined(PLAT_arm64_linux) #if defined(PLAT_arm64_linux) || defined(PLAT_arm64_freebsd)
typedef typedef
struct { struct {
@ -835,7 +838,7 @@ typedef
); \ ); \
} while (0) } while (0)
#endif /* PLAT_arm64_linux */ #endif /* PLAT_arm64_linux || PLAT_arm64_freebsd */
/* ------------------------ s390x-linux ------------------------ */ /* ------------------------ s390x-linux ------------------------ */
@ -4283,7 +4286,7 @@ typedef
/* ------------------------ arm64-linux ------------------------ */ /* ------------------------ arm64-linux ------------------------ */
#if defined(PLAT_arm64_linux) #if defined(PLAT_arm64_linux) || defined(PLAT_arm64_freebsd)
/* These regs are trashed by the hidden call. */ /* These regs are trashed by the hidden call. */
#define __CALLER_SAVED_REGS \ #define __CALLER_SAVED_REGS \