[LLVMdev] pseudo instructions not removed error
Eran.Weiss at emc.com
Eran.Weiss at emc.com
Mon May 21 06:30:30 PDT 2012
For anyone encountering this problem in the future, the cause of this
problem was debugging symbols (-g) given to clang when generating IR.
On 20/05/2012 12:21, "Weiss, Eran" <Eran.Weiss at emc.com> wrote:
>Hi,
>
>I'm having problems when trying to JIT IR generated from C++ with clang.
>My code resides in a dynamically loaded shared object, and crashes when I
>call getPointerToFunction, claiming that it encountered a pseudo
>instruction. Interestingly, a very similar code that run as a separate
>executable JITing the same IR works fine. Note that I have not have
>modified LLVM. Any suggestions what could cause this behavior?
>
>Eran.
>
>
More information about the llvm-dev
mailing list