File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ bool lldb_private::operator!=(const StackID &lhs, const StackID &rhs) {
83
83
static llvm::Expected<bool > IsReachableParent (lldb::addr_t source,
84
84
lldb::addr_t maybe_parent,
85
85
Process &process) {
86
+ maybe_parent = process.FixDataAddress (maybe_parent);
86
87
auto max_num_frames = 512 ;
87
88
for (lldb::addr_t parent_ctx = source; parent_ctx && max_num_frames;
88
89
max_num_frames--) {
@@ -94,7 +95,7 @@ static llvm::Expected<bool> IsReachableParent(lldb::addr_t source,
94
95
return llvm::createStringError (llvm::formatv (
95
96
" Failed to read parent async context of: {0:x}. Error: {1}" ,
96
97
old_parent_ctx, error.AsCString ()));
97
- if (parent_ctx == maybe_parent)
98
+ if (process. FixDataAddress ( parent_ctx) == maybe_parent)
98
99
return true ;
99
100
}
100
101
if (max_num_frames == 0 )
You can’t perform that action at this time.
0 commit comments