[llvm] r283123 - [RTDyld] Fix a bug in RTDyldMemoryManager::deregisterEHFrames.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 10:34:56 PDT 2016
Author: lhames
Date: Mon Oct 3 12:34:56 2016
New Revision: 283123
URL: http://llvm.org/viewvc/llvm-project?rev=283123&view=rev
Log:
[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.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/RTDyldMemoryManager.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/RTDyldMemoryManager.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/RTDyldMemoryManager.h?rev=283123&r1=283122&r2=283123&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/RTDyldMemoryManager.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/RTDyldMemoryManager.h Mon Oct 3 12:34:56 2016
@@ -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
More information about the llvm-commits
mailing list