summaryrefslogtreecommitdiff
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-01-28 15:15:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-28 16:20:20 +0100
commit3b26f6f6643978c9d041a6267dc88e2a59ced763 (patch)
tree6f67d4ec184ea5adc342ed6238efb6948a7443e0 /tests/benchmarks
parent8759cf3fcb3b78a7b62e7f4feedee8e6822bde32 (diff)
downloadqtscript-3b26f6f6643978c9d041a6267dc88e2a59ced763.tar.gz
Fix QtScript crash on 64bit with JIT.v5.0.1
During back-trace generation we calculate a code offset towards JIT generated code. Using JITCode::offsetOf() will crash/assert if the offset doesn't fit into 32 bits, because the generated code can only encode relative offsets in 32-bits and not 64-bits. However in this context - backtrace generation - we just want to calculate the offset and are not interested in this architectural limitation, therefore we can just calculate the offset ourselves using the fully sized uintptr_t. Initial-patch-by: Simon.Hausmann@digia.com Task-number: QTCREATORBUG-8629 Task-number: QTBUG-23463 Change-Id: I0efadd5ed20855409122e1fcc9236fdfbc4f62a4 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions