File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
lldb/source/Plugins/Language/Swift Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -859,6 +859,8 @@ class TaskSyntheticFrontEnd : public SyntheticChildrenFrontEnd {
859
859
m_ts->GetTypeFromMangledTypename (ConstString (" $sSVD" ));
860
860
861
861
addr_t value = m_task_ptr;
862
+ if (auto process_sp = m_backend.GetProcessSP ())
863
+ value = process_sp->FixDataAddress (value);
862
864
DataExtractor data{reinterpret_cast <const void *>(&value),
863
865
sizeof (value), endian::InlHostByteOrder (),
864
866
sizeof (void *)};
@@ -899,7 +901,7 @@ class TaskSyntheticFrontEnd : public SyntheticChildrenFrontEnd {
899
901
parent_addr = 0 ;
900
902
}
901
903
902
- addr_t value = parent_addr;
904
+ addr_t value = process_sp-> FixDataAddress ( parent_addr) ;
903
905
DataExtractor data{reinterpret_cast <const void *>(&value),
904
906
sizeof (value), endian::InlHostByteOrder (),
905
907
sizeof (void *)};
You can’t perform that action at this time.
0 commit comments