forwarded 777616 http://llvm.org/bugs/show_bug.cgi?id=20768
thanks
On 10/02/2015 19:18, sfrazt wrote:
> Package: lldb-3.7
> Version: 1:3.7~svn227076-1
> Severity: important
>
> Headline says all. Tested with own clang-3.6 compiled files, with files
> in /usr/bin and with following minimal example
> test.c
> #include <stdio.h>
> int main(int argc, char **argv) { printf("hello world\n"); }
>
> $clang-3.6 test.c
> $lldb-3.7 a.out
> (lldb) target create "a.out"
> error: a.out failed to load objfile for /tmp/a.out
> error: '/tmp/a.out' doesn't contain any 'host' platform architectures:
> x86_64, i386
>
> Same error also with lldb-3.5 and lldb-3.6
Confirmed. That is surprising.
$ clang-3.6 -c test.c -o foo.bar
$ lldb-3.6 foo.bar
(lldb) target create "foo.bar"
Current executable set to 'foo.bar' (x86_64).
Works.
Sylvestre
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]