mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +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…
x
Reference in New Issue
Block a user