diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-04-26 09:54:28 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-04-26 13:36:22 +0000 |
commit | eb363c3a0b7f96015d7b8f2551dbeaa86f5acf16 (patch) | |
tree | 6deac70bb9ca1bb7e05680625f379ea532efd9c1 /src/qml/jsruntime/qv4qobjectwrapper.cpp | |
parent | d8662301188229721b12526a18db7ceb496f1ef1 (diff) |
Fix maximum call stack depth limits for ASAN builds
ASAN enabled builds require more stack space and therefore our call
depth limits should be lower.
In my measurements with a recursion through arrow functions with the
interpreter, as per the test case in the bug report, different types of
builds require different amounts of stack space. On x86-64 Linux, I
measured, by printing $rsp and subtracting:
Debug: ~6k
Debug with -Og: ~590 bytes
Release with -O2: ~570 bytes
Release (-O2) with ASAN: ~40k
Fixes: QTBUG-75410
Change-Id: I403b261c677b1adb9f349958339b5a1294ae4d5d
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
0 files changed, 0 insertions, 0 deletions