diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-02-23 14:24:21 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-02-23 14:24:44 +0000 |
commit | 85e14a0d72b3470748e3cbe8871e23a818820ee9 (patch) | |
tree | b2260ccaeb4a0ecc31a7f86a1eef124a6ed98f02 /sources/pyside2/PySide2/typesystem_templates.xml | |
parent | 784df63e6be7339df3872a56baf89ca81c7e7199 (diff) |
Add rudimentary support for address sanitizer builds
This change adds a new setup.py option called --sanitize-address
which will build all executables and shared libraries with address
sanitizer enabled. The builds will only succeed on Linux and macOS
machines that have new enough gcc / clang versions, so it is a
"use at your own risk" build configuration.
This change was necessitated by the random crashes that are sometimes
observed on the CI machines, and due to valgrind not working properly
on new macOS versions, using AddressSanitizer is the next best thing.
Note that when running tests with address sanitizer builds, you
might need to export a LD_PRELOAD / DYLD_INSERT_LIBRARIES environment
variable pointing to the address sanitizer runtime library path, which
will be provided by the crashed application.
Change-Id: I93014002e5c5e94bcc808ba2fb830d60724cfb69
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/typesystem_templates.xml')
0 files changed, 0 insertions, 0 deletions