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.