aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/toolsupport
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-06 15:06:59 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-03-07 11:47:34 +0000
commit84a07bebc94e9f92d4d596550317a89403ed291f (patch)
treeb057db7b40d515662670de6d1bdb7ed37276ac4e /tests/auto/toolsupport
parentd5d12e1d6fb9aaa5a8cee7924555f0d4d19ffabc (diff)
Fix crash when loading cache files generated ahead of time
The offset of the runtimeStrings array differed between a V4_BOOTSTRAP build and the regular library build. This is an intermediate fix until QTBUG-58666 is fixed properly. Change-Id: Id1310ffa82f1079c1acef7730db41186fa62610f Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/toolsupport')
-rw-r--r--tests/auto/toolsupport/tst_toolsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/toolsupport/tst_toolsupport.cpp b/tests/auto/toolsupport/tst_toolsupport.cpp
index 9a11a67e65..526ba8f375 100644
--- a/tests/auto/toolsupport/tst_toolsupport.cpp
+++ b/tests/auto/toolsupport/tst_toolsupport.cpp
@@ -109,7 +109,7 @@ void tst_toolsupport::offsets_data()
= QTest::newRow("CompiledData::CompilationUnit::runtimeStrings")
<< pmm_to_offsetof(&QV4::CompiledData::CompilationUnit::runtimeStrings);
- data << 16 << 32;
+ data << 12 << 24;
}
{