Displaying 4 results from an estimated 4 matches for "__import".
2008 Jun 21
3
[LLVMdev] llvm-gcc -O0 compile times
...32 | Section (__DATA, __bss): 65
Section (__TEXT, __textcoal_nt): 116324 | Section (__TEXT,
__textcoal_nt): 168920
Section (__TEXT, __literal8): 8 | Section (__TEXT, __eh_frame):
88636
Section (__TEXT, __StaticInit): 147 | Section (__TEXT,
__StaticInit): 166
Section (__IMPORT, __jump_table): 12790 | Section (__IMPORT,
__jump_table): 12410
Section (__IMPORT, __pointers): 136 | Section (__IMPORT,
__pointers): 128
total 1495929 | total 2211546
total 1495968 | total 2211617
There are several problems here:
1. We're emitting __eh_frame...
2009 Jun 16
0
[LLVMdev] PIC documentation ?
...<< gets value of PC into %ecx
(other registers can be used)
movl L_x$non_lazy_ptr-"L00000000001$pb"(%ecx), %eax <<
gets &x; PC relative
movl (%eax), %eax << gets x; indirect
ret
.comm _x,4,2
.section __IMPORT,__pointers,non_lazy_symbol_pointers
L_x$non_lazy_ptr:
.indirect_symbol _x << magic cookie for indirect
references, must be in this magic section
.long 0
Result of -mdynamic-no-pic:
_foo:
movl L_x$non_lazy_ptr, %eax << &x, not PC relative...
2009 Jun 16
4
[LLVMdev] PIC documentation ?
Anton,
>> Can I ask what platform ABI's are documented other than Itanium ?
> I'd bet all platform ABI are more or less documented.
Right.
Maybe we should collect references and do some LLVM PIC documentation and
put it on LLVM website ?
>> I need to get to understand PIC on x86, x86_64 and PowerPC for the COFF
>> and MachO backends.
> ABI is normally induced
2008 Sep 25
5
[LLVMdev] confused about llvm.memory.barrier
...ind
compiled with:
1. llc -mcpu=core2 -mattr=+sse2,+sse3 -f -o test.s test.bc
becomes
1. .text
2. .align 4,0x90
3. .globl __Z3foov
4. __Z3foov:
5. movl L_a$non_lazy_ptr, %eax
6. movl $1, (%eax)
7. nop
8. movl L_b$non_lazy_ptr, %eax
9. movl (%eax), %eax
10. ret
11.
12. .section __IMPORT,__pointers,non_lazy_symbol_pointers
13. L_a$non_lazy_ptr:
14. .indirect_symbol _a
15. .long 0
16. L_b$non_lazy_ptr:
17. .indirect_symbol _b
18. .long 0
19. .subsections_via_symbols
Is the problem related to the fact that I get i386 from uname -m? If so,
how can I tell override this setting during...