Lines Matching refs:StackProtector
1 //===-- StackProtector.cpp - Stack Protector Insertion --------------------===//
41 class StackProtector : public FunctionPass {
68 StackProtector() : FunctionPass(ID), TLI(0) {
71 StackProtector(const TargetLowering *tli)
84 char StackProtector::ID = 0;
85 INITIALIZE_PASS(StackProtector, "stack-protector",
89 return new StackProtector(tli);
92 bool StackProtector::runOnFunction(Function &Fn) {
106 bool StackProtector::RequiresStackProtector() const {
148 bool StackProtector::InsertStackProtectors() {
188 Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector),
251 BasicBlock *StackProtector::CreateFailBB() {