Home | History | Annotate | Download | only in CodeGen

Lines Matching full:stackprotector

1 //===-- StackProtector.cpp - Stack Protector Insertion --------------------===//
17 #include "llvm/CodeGen/StackProtector.h"
48 char StackProtector::ID = 0;
49 INITIALIZE_PASS(StackProtector, "stack-protector", "Insert stack protectors",
53 return new StackProtector(TM);
56 StackProtector::SSPLayoutKind
57 StackProtector::getSSPLayout(const AllocaInst *AI) const {
61 void StackProtector::adjustForColoring(const AllocaInst *From,
82 bool StackProtector::runOnFunction(Function &Fn) {
106 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge,
153 bool StackProtector::HasAddressTaken(const Instruction *AI) {
198 bool StackProtector::RequiresStackProtector() {
360 B.CreateCall2(Intrinsic::getDeclaration(M, Intrinsic::stackprotector), LI,
372 bool StackProtector::InsertStackProtectors() {
475 BasicBlock *StackProtector::CreateFailBB() {