Lines Matching full:mechanism
38 /// address-taken function. X86_64 targets use the Mechanism::Dispatch
39 /// mechanism. X86, ARM, and AArch64 targets use the Mechanism::Check machanism.
42 using Mechanism = CFGuardPass::Mechanism;
44 CFGuardImpl(Mechanism M) : GuardMechanism(M) {
47 case Mechanism::Check:
50 case Mechanism::Dispatch:
57 /// check mechanism. When the image is loaded, the loader puts the appropriate
102 /// dispatch mechanism. When the image is loaded, the loader puts the
149 Mechanism GuardMechanism = Mechanism::Check;
162 CFGuard(CFGuardImpl::Mechanism M) : FunctionPass(ID), Impl(M) {
291 if (GuardMechanism == Mechanism::Dispatch) {
315 return new CFGuard(CFGuardPass::Mechanism::Check);
319 return new CFGuard(CFGuardPass::Mechanism::Dispatch);