This looks like a bug I filed upstream:
http://llvm.org/bugs/show_bug.cgi?id=13211
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
On 05/06/2012 12:49, Jason White wrote:
I get identical results to yours if I include the -O3 flag, as above, but if I
omit the optimization flag I get the behaviour shown in the bug report.
Gdb also reports the absence of line number information if I specify -O0
explicitly.
Can you reproduce?
Sylvestre Ledru wrote:
> Anything special about your system / install I should know ?
Nothing that comes to mind, but see discussion below.
>
> with amd64:
> $ clang -O3 -g -o test plop.c
> $ gdb test
> GNU gdb (GDB) 7.4.1-debian
> [...]
> Reading symbols from /tmp/test...done.
> (gdb) b main
>
On 05/06/2012 03:24, Jason White wrote:
Package: clang
Version: 3.1-4
Severity: normal
To reproduce this, suppose we have a simple test program such as:
#include
int main() {
int i;
for (i = 1; i<= 10; i++)
printf("%-6d%-6d\n", i, i*i);
return 0;
}
Anything special about your s
Package: clang
Version: 3.1-4
Severity: normal
To reproduce this, suppose we have a simple test program such as:
#include
int main() {
int i;
for (i = 1; i <= 10; i++)
printf("%-6d%-6d\n", i, i*i);
return 0;
}
After compiling with clang -g -o test test.c
(gdb) start
Temporary breakpoi
5 matches
Mail list logo