{"ref":"refs/heads/master","push_id":54321863,"commits":[{"sha":"dfafa141aa9d0dd0596bf08b3f941be8c308316d","author":{"email":"9d09450497b788fbc3f2861a336ffc776f8c892b@apple.com","name":"Johnny Chen"},"url":"https://api.github.com/repos/chapuni/lldb/commits/dfafa141aa9d0dd0596bf08b3f941be8c308316d","message":"http://llvm.org/bugs/show_bug.cgi?id=11588\nvalobj.AddressOf() returns None when an address is expected in a SyntheticChildrenProvider\n\nPatch from Enrico Granata:\n\nThe problem was that the frozen object created by the expression parser was a copy of the contents of the StgClosure, rather than a pointer to it. Thus, the expression parser was correctly computing the result of the arithmetic&cast operation along with its address, but only saving it in the live object. This meant that the frozen copy acted as an address-less variable, hence the problem.\n\nThe fix attached to this email lets the expression parser store the \"live address\" in the frozen copy of the address when the object is built without a valid address of its own.\nDoing so, along with delegating ValueObjectConstResult to calculate its own address when necessary, solves the issue. I have also added a new test case to check for regressions in this area, and checked that existing test cases pass correctly.\n\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146768 91177308-0d34-0410-b5e6-96231b3b80d8"}],"head":"dfafa141aa9d0dd0596bf08b3f941be8c308316d","size":1}