Displaying 3 results from an estimated 3 matches for "lxray_sled_0".
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
...uction).
OutStreamer->EmitInstruction(
MCInstBuilder(X86::JMP_1)
.addExpr(MCSymbolRefExpr::create(Target, OutContext)),
getSubtargetInfo());
EmitNops(*OutStreamer, 9, Subtarget->is64Bit(), getSubtargetInfo());
OutStreamer->EmitLabel(Target);
Which turns into:
.Lxray_sled_0:
.palign 2, 0x90
jmp .Ltmp0
nopw 512(%rax,%rax,1)
.Ltmp0:
// rest of the code
Is there a way of forcing the lowered JMP instruction to turn into a
two-byte jump that does a short relative jump (one that fits within 8
bits)? When I run the binary and disassemble the function I'm seeing...
2017 Nov 21
2
question about xray tls data initialization
...ntax noprefix
.def call;
.scl 2;
.type 32;
.endef
.globl call # -- Begin function call
.p2align 4, 0x90
call: # @call
.seh_proc call
# BB#0: # %entry
.p2align 1, 0x90
.Lxray_sled_0:
.ascii "\353\t"
nop word ptr [rax + rax + 512]
sub rsp, 16
.seh_stackalloc 16
.seh_endprologue
mov dword ptr [rsp + 12], ecx
mov dword ptr [rsp + 8], 0
mov dword ptr [rsp + 4], 0
.LBB0_1: # %for.cond...
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 = [] {