llvm::TargetLoweringBase::getSSPStackGuardCheck

Return the target's stack protector check function, if previously inserted.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

Function*
getSSPStackGuardCheck(
    Module const& M,
    LibcallLoweringInfo const& Libcalls) const;

Description

If the target has a standard stack protection check function that performs validation and error handling, returns the function. Otherwise, returns nullptr. Must be previously inserted by insertSSPDeclarations. Should be used only when getIRStackGuard returns nullptr.

Return Value

The target's stack protector check function, if previously inserted.

Parameters

NameDescription
MModule being queried.
LibcallsRuntime libcall information.