search for: patchable_function_enter

Displaying 1 result from an estimated 1 matches for "patchable_function_enter".

2016 Jul 04
4
[XRay] RFC: LLVM-side Changes for nop-sleds
...mentation ============================= XRay relies on statically inserted instrumentation points (implemented as nop-sleds) and a dynamic enable/disable mechanism implemented in a runtime library. As of this writing the implementation of the XRay prototype involves adding two pseudo-instructions (PATCHABLE_FUNCTION_ENTER, PATCHABLE_RET) that serve as placeholders for where the nop-sleds are to be emitted when lowering. PATCHABLE_FUNCTION_ENTER is an instruction that takes no operands and serves as a pure placeholder. PATCHABLE_RET effectively behaves as a return instruction (isReturn = true) and wraps whatever the...