Displaying 2 results from an estimated 2 matches for "lxray_sleds_end0".
2017 Nov 21
2
question about xray tls data initialization
...on
.section xray_instr_map,"y"
.Lxray_sleds_start0:
.quad .Lxray_sled_0
.quad call
.byte 0x00
.byte 0x00
.byte 0x00
.zero 13
.quad .Lxray_sled_1
.quad call
.byte 0x01
.byte 0x00
.byte 0x00
.zero 13
.Lxray_sleds_end0:
.section xray_fn_idx,"y"
.p2align 4, 0x90
.quad .Lxray_sleds_start0
.quad .Lxray_sleds_end0
.text
and parts of obj dump:
SECTION HEADER #5
/16 name (xray_instr_map)
0 physical address
0 virtual address
40 size of raw data
1...
2017 Nov 16
2
question about xray tls data initialization
I'm learning the xray library and try if it can be built on windows, in
xray_fdr_logging_impl.h
line 152 , comment written as
// Using pthread_once(...) to initialize the thread-local data structures
but at line 175, 183, code written as
thread_local pthread_key_t key;
// Ensure that we only actually ever do the pthread initialization once.
thread_local bool UNUSED Unused = [] {