Searched refs:ExitHook (Results 1 – 3 of 3) sorted by relevance
84 class ExitHook : public Transformation {97 explicit ExitHook(const ir::MethodId& hook_method_id, Tweak tweak) in ExitHook() function103 explicit ExitHook(const ir::MethodId& hook_method_id) : ExitHook(hook_method_id, Tweak::None) {} in ExitHook() function112 inline ExitHook::Tweak operator|(ExitHook::Tweak a, ExitHook::Tweak b) {113 return static_cast<ExitHook::Tweak>(static_cast<int>(a) | static_cast<int>(b));116 inline int operator&(ExitHook::Tweak a, ExitHook::Tweak b) {
300 mi.AddTransformation<slicer::ExitHook>(ir::MethodId("LTracer;", "onFooExit")); in TestMethodInstrumenter()511 mi.AddTransformation<slicer::ExitHook>(ir::MethodId("LTracer;", "onFooExit"), in TestReturnAsObjectExitHook()512 slicer::ExitHook::Tweak::ReturnAsObject); in TestReturnAsObjectExitHook()521 mi.AddTransformation<slicer::ExitHook>(ir::MethodId("LTracer;", "onFooExit"), in TestPassMethodSignatureExitHook()522 slicer::ExitHook::Tweak::ReturnAsObject | in TestPassMethodSignatureExitHook()523 slicer::ExitHook::Tweak::PassMethodSignature); in TestPassMethodSignatureExitHook()
362 bool ExitHook::Apply(lir::CodeIr* code_ir) { in Apply()