After an exec, the inferior is a new process and none of these memory
regions are still allocated. Clear them out.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D140253  
[debugserver] Clear memory allocations after exec ClosedPublic Authored by bulbazord on Dec 16 2022, 4:20 PM. 
Details Summary After an exec, the inferior is a new process and none of these memory 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 11 2023, 12:58 PM Closed by commit rG58def623ca46: [debugserver] Clear memory allocations after exec (authored by bulbazord).  ·  Explain WhyJan 11 2023, 1:44 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 488372 lldb/tools/debugserver/source/MacOSX/MachProcess.mm
 lldb/tools/debugserver/source/MacOSX/MachTask.h
 lldb/tools/debugserver/source/MacOSX/MachTask.mm
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||