Displaying 5 results from an estimated 5 matches for "processfde".
Did you mean:
processed
2013 Oct 14
3
[LLVMdev] A weird, reproducable problem with MCJIT
I switched my Common Lisp compiler to use MCJIT on the weekend and ran
into a weird problem compiling one particular function.
It crashes with an EXC_BAD_ACCESS error in MCJIT::finalizeObject when
calling processFDE.
The weird part is that the function does not appear to do anything
special and I've whittled it down to
the minimum size that still causes the crash. If I remove even one
statement it compiles fine. Note: The function doesn't make much sense
anymore but it does compile fine.
It does have...
2013 Oct 14
0
[LLVMdev] A weird, reproducable problem with MCJIT
...2 PM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] A weird, reproducable problem with MCJIT
I switched my Common Lisp compiler to use MCJIT on the weekend and ran into a weird problem compiling one particular function.
It crashes with an EXC_BAD_ACCESS error in MCJIT::finalizeObject when calling processFDE.
The weird part is that the function does not appear to do anything special and I've whittled it down to the minimum size that still causes the crash. If I remove even one statement it compiles fine. Note: The function doesn't make much sense anymore but it does compile fine.
It does have...
2013 Oct 14
3
[LLVMdev] A weird, reproducable problem with MCJIT
Hi,
I had similar problems with EH in ELF in
RTDyldMemoryManager::registerEHFrames() calling __register_frame().
I'm not sure these problems are related to this problem since your crash
happens in RuntimeDyldMachO::registerEHFrames() in its own processFDE
(there are two functions named processFDE(), one in
RuntimeDyldMachO.cpp and one in RTDyldMemoryManager.cpp) *before*
RTDyldMemoryManager::registerEHFrames()
and __register_frame() are called.
It would seem that even if RTDyldMemoryManager::registerEHFrames() and
__register_frame() got problemat...
2013 Oct 14
0
[LLVMdev] A weird, reproducable problem with MCJIT
Yaron,
Did you find a way around the problem?
It looks like the problem comes before processFDE because by the time it
gets to processFDE the eh_frame data is already corrupted.
Does ELF and MachO share the same eh_frame format?
I am developing this code in parallel on an Ubuntu Linux system but I
haven't tried to run it on there for a couple of weeks. I'll bring it
up to date and...
2013 Oct 14
2
[LLVMdev] A weird, reproducable problem with MCJIT
...3-April/061768.html
I think the existing code is correct for OS-X but likely buggy for Linux
and Windows systems.
Your crash is on OS-X, right?
Anyhow, the first problem is very easy to fix. On Linux and Windows (at
least) __register_frame should be called once and not called on every FDE
as in processFDE in RTDyldMemoryManager,cpp does.
So RTDyldMemoryManager::registerEHFrames was modified to:
void RTDyldMemoryManager::registerEHFrames(uint8_t *Addr,
uint64_t LoadAddr,
size_t Size) {
__register_frame(Addr);
}...