search for: lbe2

Displaying 4 results from an estimated 4 matches for "lbe2".

Did you mean: be2
2012 Dec 01
0
[LLVMdev] operator overloading fails while debugging with gdb for i386
..., 4(%eax) .loc 1 10 0 movl 12(%ebp), %edx movl 20(%ebp), %eax addl %eax, %edx movl 8(%ebp), %eax movl %edx, (%eax) .loc 1 11 0 movl 16(%ebp), %edx movl 24(%ebp), %eax addl %eax, %edx movl 8(%ebp), %eax movl %edx, 4(%eax) .LBE2: .loc 1 14 0 *movl 8(%ebp), %eax* popl %ebp ret $4 clang assembly (snippet of sum function) _Z3sum2A1S_: .loc 1 8 0 pushl %edi pushl %esi leal 24(%esp), %eax leal 16(%esp), %ecx movl 12(%esp), %edx .loc 1 9 17 prologue_end...
2012 Nov 29
2
[LLVMdev] operator overloading fails while debugging with gdb for i386
For the given test: class A1 { int x; int y; public: A1(int a, int b) { x=a; y=b; } A1 operator+(const A1&); }; A1 A1::operator+(const A1& second) { A1 sum(0,0); sum.x = x + second.x; sum.y = y + second.y; return (sum); } int main (void) { A1 one(2,3); A1 two(4,5); return 0; } when the exectable of this code is debugged in gdb for i386, we dont get the
2012 Dec 01
2
[LLVMdev] operator overloading fails while debugging with gdb for i386
..., 4(%eax) .loc 1 10 0 movl 12(%ebp), %edx movl 20(%ebp), %eax addl %eax, %edx movl 8(%ebp), %eax movl %edx, (%eax) .loc 1 11 0 movl 16(%ebp), %edx movl 24(%ebp), %eax addl %eax, %edx movl 8(%ebp), %eax movl %edx, 4(%eax) .LBE2: .loc 1 14 0 movl 8(%ebp), %eax popl %ebp ret $4 clang assembly (snippet of sum function) _Z3sum2A1S_: .loc 1 8 0 pushl %edi pushl %esi leal 24(%esp), %eax leal 16(%esp), %ecx movl 12(%esp), %edx .loc 1 9 17 prologue_end...
2012 Dec 02
0
[LLVMdev] operator overloading fails while debugging with gdb for i386
...t; movl 20(%ebp), %eax > addl %eax, %edx > movl 8(%ebp), %eax > movl %edx, (%eax) > .loc 1 11 0 > movl 16(%ebp), %edx > movl 24(%ebp), %eax > addl %eax, %edx > movl 8(%ebp), %eax > movl %edx, 4(%eax) > .LBE2: > .loc 1 14 0 > movl 8(%ebp), %eax > popl %ebp > ret $4 > > clang assembly (snippet of sum function) > _Z3sum2A1S_: > .loc 1 8 0 > pushl %edi > pushl %esi > leal 24(%esp), %eax > leal 16(%esp), %ecx >...