forked from qt-creator/qt-creator
Debugger: Add a note on LLDB 6.0/Linux type mis-reading
Code "QStaticStringData<1> sd;" ends up as "QStaticStringData<4>" when read by LLDB. GDB is fine. Change-Id: Ieef8d4a4c267d6e0bb45c96f8dc9c05a79b66381 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3568,6 +3568,8 @@ void tst_Dumpers::dumper_data()
|
||||
+ Check("holder", "", "@QStringDataPtr") % Qt5
|
||||
+ Check("holder.ptr", "\"ABC\"", TypeDef("@QTypedArrayData<unsigned short>",
|
||||
"@QStringData")) % Qt5
|
||||
// Note that the following breaks with LLDB 6.0 on Linux as LLDB reads
|
||||
// the type wrong as "QStaticStringData<4>"
|
||||
+ Check("sd", "\"Q\"", "@QStaticStringData<1>") % Qt5;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user