[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?

Kaylor, Andrew andrew.kaylor at intel.com
Tue Oct 22 09:44:29 PDT 2013


I'm not aware of such a limitation.

What architecture, code model and relocation model are you using?  Are you using the SectionMemoryManager?

-Andy

From: Yaron Keren [mailto:yaron.keren at gmail.com]
Sent: Tuesday, October 22, 2013 8:12 AM
To: <llvmdev at cs.uiuc.edu>; Kaylor, Andrew
Subject: Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?

I'm running in MCJIT a module generated from one C++ function. Every line of the source function uses C++ classes and may throw an exception. As long as there are less than (about) 1000 lines, everything works. With more lines the compiled code crashes when running it, with no sensible stack trace.

Is there any kind of hard-coded size limitation in MCJIT / ELF Dynamic Linker / ELF codegen / number of EH states in a function ?

I did browse the code but could not find anything obvious.

Yaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131022/6e6395c9/attachment.html>


More information about the llvm-dev mailing list