[Bug 23039] New: DynamicValueChildCountTestCase.test_get_dynamic_vals_with_dwarf failure

Bug ID 23039
Summary DynamicValueChildCountTestCase.test_get_dynamic_vals_with_dwarf failure
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter vince@nethacker.com
Classification Unclassified

Old comment from the expectFailureLinux:
This needs to be root-caused.  It looks like the DWARF info is anticipating the
derived class assignment.

Currently failing on the last assertion of the test:

    b =
self.frame().FindVariable("b").GetDynamicValue(lldb.eDynamicCanRunTarget)
    self.assertTrue(b.GetNumChildren() == 0, "b has 0 children")
    self.runCmd("continue")
    self.assertTrue(b.GetNumChildren() == 0, "b still has 0 children")
    self.runCmd("continue")
    self.assertTrue(b.GetNumChildren() != 0, "b now has 1 child")
    self.runCmd("continue")
--> self.assertTrue(b.GetNumChildren() == 0, "b didn't go back to 0 children")

abhiinnitald@gmail.com changed bug 23039

What | Removed | Added |

Comment # 2 on bug 23039 from abhiinnitald@gmail.com

I am working on resolving this issue. I will upstream the fix soon.