[lldb/Reproducers] Fix API boundary tracking bug
When recording the result from the LLDB_RECORD_RESULT macro, we need to update the boundary so we capture the copy constructor. However, when called to record the this pointer of the (copy) constructor itself, the boundary should not be toggled, because it is called from the LLDB_RECORD_CONSTRUCTOR macro, which might be followed by other API calls. This manifested itself as an object encountered during replay that we hadn't seen before. The index-to-object mapping would return a nullptr and lldb would crash.
Loading
Please sign in to comment