[LLVMdev] handle error of getPointerToFunction

Reid Kleckner reid.kleckner at gmail.com
Tue Oct 26 17:13:08 PDT 2010


Can you be more precise about where the error occurs?  Depending on
where it is, LLVM may or may not be able to propagate the error
safely.

Reid

On Tue, Oct 26, 2010 at 4:05 PM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:
> Hi!
>
> I have this scenario:
> executionEngine->getPointerToFunction fails because a symbol can not be
> resolved.
>
> What can I do to catch this error? is an exception thrown? currently the
> program simply
> exits. returning NULL would be ok too.
>
> -Jochen
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list