forked from OSchip/llvm-project
[RTDyld] Fix a bug in RTDyldMemoryManager::deregisterEHFrames.
It should forward to deregisterEHFramesInProcess by default, not registerEHFramesInProcess. No test case: I haven't come up with a good way to unit test EH frame registration yet. llvm-svn: 283123
This commit is contained in:
parent
a77fe4eef3
commit
cf6e83a626
|
@ -72,7 +72,7 @@ public:
|
|||
}
|
||||
|
||||
void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) override {
|
||||
registerEHFramesInProcess(Addr, Size);
|
||||
deregisterEHFramesInProcess(Addr, Size);
|
||||
}
|
||||
|
||||
/// This method returns the address of the specified function or variable in
|
||||
|
|
Loading…
Reference in New Issue