<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to run a program with lldb-3.4 but I always get the same error :</div><blockquote style="margin-right:0px" dir="ltr"><div>$ uname -a</div></blockquote><blockquote style="margin-right:0px" dir="ltr">
<div>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</div><div><br></div><div>$ clang -v</div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>Ununtu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4)</div>
</blockquote><blockquote style="margin-right:0px" dir="ltr"><div>Target: x86_64-pc-linux-gnu</div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>Thread model: posix</div></blockquote><blockquote style="margin-right:0px" dir="ltr">
<div>$ cat test.c</div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>#include <stdio.h></div><div><br></div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>int main(void) {</div></blockquote>
<blockquote style="margin-right:0px" dir="ltr"><blockquote style="margin-right:0px" dir="ltr"><div>int n = 5;</div></blockquote></blockquote><blockquote style="margin-right:0px" dir="ltr"><blockquote style="margin-right:0px" dir="ltr">
<div>printf("n=%i\n", n);</div></blockquote></blockquote><blockquote style="margin-right:0px" dir="ltr"><blockquote style="margin-right:0px" dir="ltr"><div>return 0;</div></blockquote><div dir="ltr">}</div></blockquote>
<blockquote style="margin-right:0px" dir="ltr"><div>$ clang test.c -emit-llvm -c -o test.o</div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>$ lldb-3.4 -v</div></blockquote><blockquote style="margin-right:0px" dir="ltr">
<div><div>lldb version 3.4 (  revision  )</div></div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>$ lldb-3.4 test.o</div></blockquote><blockquote style="margin-right:0px" dir="ltr"><div>error: '/home/llvm/tmp/test.o' doesn't contain any 'host' platform architectures: x86_64, i396</div>
</blockquote><blockquote style="margin-right:0px" dir="ltr"><div>(lldb)</div></blockquote><div>Thank you in advance,</div><div>Best regards.</div></div>