OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd8d5c
)
[RuntimeDyld] Teach MachOObjectImage to deregister itself with the debugger upon
author
Lang Hames
<lhames@gmail.com>
Thu, 26 Jun 2014 23:05:44 +0000
(23:05 +0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 26 Jun 2014 23:05:44 +0000
(23:05 +0000)
destruction the same way ELFObjectImage does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211815
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
index
5b96371
..
71b914d
100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
@@
-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