[lldb-dev] [lldb-3.4] 'host' Platform architecture error

Maxime PUYS drakes00 at gmail.com
Thu Apr 3 07:19:54 PDT 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140403/edc6172a/attachment.html>


More information about the lldb-dev mailing list