diff options
author | Giuseppe D'Angelo <dangelog@gmail.com> | 2012-02-08 19:28:14 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-06 21:54:30 +0100 |
commit | 1899861858eb262df7826eb32d1274233a35536e (patch) | |
tree | e2e5d67443442f74a8e2c0dabb610c0a43d4ed7a /src/corelib/plugin/qlibrary.cpp | |
parent | bd30234b59c1a0cef81b8ce43f2fefac1f28b318 (diff) |
QRegularExpression: do not use JIT in debug builds
PCRE's JIT uses self-modifying code extensively, requiring full SMC
checks enabled by tools like valgrind, which slow down the execution
considerably; not enabling SMC checks lead to crashes.
Therefore, JIT is now disabled by default in debug builds of Qt.
Its usage (both in debug and release builds) can be controlled
by setting the QT_ENABLE_REGEXP_JIT environment variable.
Change-Id: Ib38952400e4219582942ce65ab9edcd89c432f3e
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/plugin/qlibrary.cpp')
0 files changed, 0 insertions, 0 deletions