From f0115b666493aade88b917fb3a26d395d0f654c9 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 16 Nov 2016 10:46:48 +0100 Subject: [PATCH] Debugger: Disable some of the LLDB inheritance dumper Both LLDB 3.8/Linux and 360.x/Mac cannot display the contents of a virtual base class when accessed to a 'secondary' path. The problem is with LLDB itself, so don't expect Creator tests to pass in those cases. Change-Id: I25b005d66fa9f64766a4cc0aaaa2c865b6df8c5f Reviewed-by: Christian Stenger --- tests/auto/debugger/tst_dumpers.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 1c4f3cb808f..5bf80148b6b 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -5986,19 +5986,20 @@ void tst_Dumpers::dumper_data() + Check("tt.@2.@1.v", "45", "int") % LldbEngine + Check("dd.@1.@1.a", "1", "int") // B::a - + Check("dd.@2.@1.a", "1", "int") // C::a + // C::a - fails with command line LLDB 3.8/360.x + + Check("dd.@2.@1.a", "1", "int") % NoLldbEngine // C::a + Check("dd.@1.b", "2", "int") + Check("dd.@2.c", "3", "int") + Check("dd.d", "4", "int") + Check("dp.@1.@1.a", "1", "int") // B::a - + Check("dp.@2.@1.a", "1", "int") // C::a + + Check("dp.@2.@1.a", "1", "int") % NoLldbEngine // C::a + Check("dp.@1.b", "2", "int") + Check("dp.@2.c", "3", "int") + Check("dp.d", "4", "int") + Check("dr.@1.@1.a", "1", "int") // B::a - + Check("dr.@2.@1.a", "1", "int") // C::a + + Check("dr.@2.@1.a", "1", "int") % NoLldbEngine // C::a + Check("dr.@1.b", "2", "int") + Check("dr.@2.c", "3", "int") + Check("dr.d", "4", "int");