mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
[RuntimeDyld] Teach MachOObjectImage to deregister itself with the debugger upon
destruction the same way ELFObjectImage does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8dd8d5c2b2
commit
9bd578efea
@ -65,7 +65,10 @@ public:
|
||||
initOldAddress();
|
||||
}
|
||||
|
||||
virtual ~MachOObjectImage() {}
|
||||
virtual ~MachOObjectImage() {
|
||||
if (Registered)
|
||||
deregisterWithDebugger();
|
||||
}
|
||||
|
||||
// Subclasses can override these methods to update the image with loaded
|
||||
// addresses for sections and common symbols
|
||||
|
Loading…
Reference in New Issue
Block a user