Displaying 3 results from an estimated 3 matches for "tp59856p59865".
2013 Jul 26
2
[LLVMdev] LLVM ERROR : Invalid instruction
#include <string>
#include <string.h>
#include <iostream>
#include <stdio.h>
using namespace std;
void foo(string str)
{
}
int main()
{
string str="aa";
foo(str);
return 0;
}
1. clang++ -c -emit-llvm foo.cpp -o foo.ll
2. llc -march=cpp -o foo.ll.cpp foo.ll (at the execution of this command
its giving an error as "Invalid Instruction")
May I know why
2013 Jul 26
0
[LLVMdev] LLVM ERROR : Invalid instruction
Looks like the CPP backend doesn’t know how to deal with exception handling. It’s complaining that it can’t handle a landingpad instruction.
-Jim
On Jul 26, 2013, at 1:49 PM, Abhinash Jain <omnia at mailinator.com> wrote:
> #include <string>
> #include <string.h>
> #include <iostream>
> #include <stdio.h>
> using namespace std;
>
> void
2013 Jul 26
2
[LLVMdev] LLVM ERROR : Invalid instruction
@Jim Grosbach,
Is there anyway to resolve it???
--
View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-ERROR-Invalid-instruction-tp59856p59865.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.