[LLVMdev] ExecutionEngine blew the stack ?
Chris Lattner
sabre at nondot.org
Fri May 5 08:57:15 PDT 2006
On Fri, 5 May 2006, Simon Burton wrote:
> On Fri, 5 May 2006 16:43:13 +1000
> Simon Burton <simon at arrowtheory.com> wrote:
>
>>
>> It slows in the construction phase, so one of these calls:
>> M = ParseAssemblyString(AsmString, M);
>> verifyModule( *M )
>> M->getNamedFunction(name);
>> EE->getPointerToFunction
>>
>> It feels like there is a linear name lookup going on somewhere.
>
> it's verifyModule (of course). As the module grows, it takes longer
> to verify. So, I will disable this for now.
Alernatively, you could just verify the functions that are newly loaded,
so that you are verifying linear amounts of code instead of N^2.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list