summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackProtector.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-10-09Create enums for the different attributes.Bill Wendling1-2/+2
2012-10-08Move TargetData to DataLayout.Micah Villmow1-2/+2
2012-09-26Remove the `hasFnAttr' method from Function.Bill Wendling1-2/+2
2012-08-21Add support for the --param ssp-buffer-size= driver option.Chad Rosier1-9/+3
2012-08-17Implement stack protectors for structures with character arrays in them.Bill Wendling1-15/+40
2012-08-13Whitespace cleanup.Bill Wendling1-7/+7
2012-08-07For non-Darwin platforms, we want to generate stack protectors only forBill Wendling1-1/+10
2011-11-23Enable stack protectors for all arrays, not just char arrays. rdar://5875909Bob Wilson1-6/+1
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-2/+2
2011-07-15Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad1-1/+1
2011-03-29Inline check that's used only once.Bill Wendling1-2/+1
2011-03-29Rework the logic (and removing the bad check for an unreachable block) so thatBill Wendling1-8/+5
2011-03-29Don't try to add stack protector logic to a dead basic block. It messes upBill Wendling1-1/+2
2011-03-28In some cases, the "fail BB dominator" may be null after the BB was split (andBill Wendling1-1/+2
2011-03-11Fix the GCC test suite issue exposed by r127477, which was caused by stackCameron Zwarich1-3/+3
2011-01-08Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich1-0/+18
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-2/+6
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-2/+2
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-2/+2
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-2/+2
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-2/+2
2010-07-06tighten up this code.Chris Lattner1-12/+7
2010-07-06Fix up -fstack-protector on linux to use the segmentEric Christopher1-2/+15
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands1-1/+1
2010-01-05Move remaining stuff to the isInteger predicate.Benjamin Kramer1-1/+1
2009-10-25Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky1-1/+1
2009-10-23Neuter stack protectors by only checking character arrays. This is what GCCBill Wendling1-1/+6
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson1-4/+7
2009-07-15Revert yesterday's change by removing the LLVMContext parameter to AllocaInst...Owen Anderson1-1/+1
2009-07-14Move EVER MORE stuff over to LLVMContext.Owen Anderson1-1/+1
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson1-1/+1
2009-05-09Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands1-1/+1
2009-03-06When we split a basic block, there's a default branch to the newly created BB.Bill Wendling1-0/+3
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands1-1/+1
2008-11-18Rename stackprotector_create intrinsic to stackprotector.Bill Wendling1-1/+1
2008-11-18Remove the stackprotector_check intrinsic. Use a volatile load instead.Bill Wendling1-6/+4
2008-11-18- Use "moveAfter" instead of "remove/insert" of a basic block.Bill Wendling1-103/+104
2008-11-13Implement stack protectors as function attributes: "ssp" and "sspreq".Bill Wendling1-14/+12
2008-11-10Small simplification. Use the iterator already present as the insertion point.Bill Wendling1-4/+3
2008-11-10- Make sure that we don't over-increment the iterator when going through theBill Wendling1-7/+8
2008-11-07- Modify the stack protector algorithm so that the stack slot is allocated inBill Wendling1-31/+29
2008-11-06Remove unneeded header file.Bill Wendling1-1/+0
2008-11-06Don't build a vector of returns. Just modify the Function in the loop.Bill Wendling1-46/+49
2008-11-06The size limit is for individual arrays. So if any array has more than 8 bytesBill Wendling1-5/+3
2008-11-06- Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.Bill Wendling1-2/+2
2008-11-06Adjust the stack protector heuristic to care about only arrays or calls toBill Wendling1-1/+9
2008-11-06Implement the stack protector stack accesses via intrinsics:Bill Wendling1-9/+11
2008-11-05Remove dead variable.Bill Wendling1-1/+0
2008-11-05Simplify the allocated size calculation.Bill Wendling1-3/+3