[llvm] r222767 - Small model and JIT generally don't go well with each other.

Joerg Sonnenberger joerg at britannica.bec.de
Wed Nov 26 02:25:31 PST 2014


On Tue, Nov 25, 2014 at 11:07:16PM -0800, Lang Hames wrote:
> It may be worth filing a bug for this, since we still want small-code-model
> to be supported in the JIT. To make this testable we'd need to add a mode
> to LLI that guarantees allocations compatible with small code model.

As discussed with echristo on IRC, small code model for JIT does work IF
the memory manager ensures that the constraints are implemented. The
default implementation does *not* do that. The necessary mmap flags are
not portable either.

Joerg



More information about the llvm-commits mailing list