Hello Greg, Please find attached the 'test.o' file. i396 is definitly a typo of mine (i386 was meant).
Best regards, Maxime. 2014-04-03 20:24 GMT+02:00 Greg Clayton <[email protected]>: > If you can attach your .o file, I can take a look. > > and is the "i396" a typo in the error message? > > On Apr 3, 2014, at 7:19 AM, Maxime PUYS <[email protected]> wrote: > > > Hello, > > > > I am trying to run a program with lldb-3.4 but I always get the same > error : > > $ uname -a > > Linux llvm-dev-x64 3.11.0-12-generic #19-Ubuntu SMP Oct 9 16:20:46 UTC > 2013 x86_64 x86_64 x86_64 GNU/Linux > > > > $ clang -v > > Ununtu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4) > > Target: x86_64-pc-linux-gnu > > Thread model: posix > > $ cat test.c > > #include <stdio.h> > > > > int main(void) { > > int n = 5; > > printf("n=%i\n", n); > > return 0; > > } > > $ clang test.c -emit-llvm -c -o test.o > > $ lldb-3.4 -v > > lldb version 3.4 ( revision ) > > $ lldb-3.4 test.o > > error: '/home/llvm/tmp/test.o' doesn't contain any 'host' platform > architectures: x86_64, i396 > > (lldb) > > Thank you in advance, > > Best regards. > > _______________________________________________ > > lldb-dev mailing list > > [email protected] > > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev > >
#include <stdio.h>
int main(void) {
int n=5;
printf("n=%i\n", n);
return 0;
}
test.ll
Description: Binary data
test.o
Description: application/object
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
