mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-13 17:00:01 +00:00
[RuntimeDyld] Teach MachOObjectImage to deregister itself with the debugger upon
destruction the same way ELFObjectImage does. llvm-svn: 211815
This commit is contained in:
parent
97022b0c1f
commit
ef8f18f9e4
@ -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…
x
Reference in New Issue
Block a user