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