Displaying 2 results from an estimated 2 matches for "a1000000".
Did you mean:
1000000
2011 Dec 06
0
[LLVMdev] Implement implicit TLS on Windows - need advice
...91 00 00 00 00 movl
%edx, (%ecx)
1a: IMAGE_REL_I386_SECREL _i
1e: c3 ret
Contents of section .tls$:
0000 00000000 ....
Contents of section .text:
0000 a1000000 00648b0d 00000000 8b0c818b .....d..........
0010 81000000 008d5001 89910000 0000c3 ......P........
- Michael Spencer
2011 Dec 04
3
[LLVMdev] Implement implicit TLS on Windows - need advice
Hi!
LLVM currently does not implement the implicit TLS model on Windows.
This model is easy:
- a thread local variable ends up in the .tls section
- to access a thread local variable, you have to do
(1) load pointer to thread local storage from TEB
On x86_64, this is gs:0x58, on x86 it is fs:0x2C.
(2) load pointer to thread local state. In general, the index is
stored in variable