History log of /llvm-project-15.0.7/llvm/lib/CodeGen/StackProtector.cpp (Results 126 – 150 of 176)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 49aeb5cc 13-Aug-2012 Bill Wendling <[email protected]>

Whitespace cleanup.

llvm-svn: 161788


# 61396b81 07-Aug-2012 Bill Wendling <[email protected]>

For non-Darwin platforms, we want to generate stack protectors only for
character arrays. This is in line with what GCC does.
<rdar://problem/10529227>

llvm-svn: 161446


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# ebb44646 23-Nov-2011 Bob Wilson <[email protected]>

Enable stack protectors for all arrays, not just char arrays. rdar://5875909
Patch by Bill Wendling.

llvm-svn: 145097


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 229907cd 18-Jul-2011 Chris Lattner <[email protected]>

land David Blaikie's patch to de-constify Type, with a few tweaks.

llvm-svn: 135375


# 5bd375a6 15-Jul-2011 Jay Foad <[email protected]>

Convert CallInst and InvokeInst APIs to use ArrayRef.

llvm-svn: 135265


Revision tags: llvmorg-2.9.0
# dd1cf327 29-Mar-2011 Bill Wendling <[email protected]>

Inline check that's used only once.

llvm-svn: 128465


# fb63d55f 29-Mar-2011 Bill Wendling <[email protected]>

Rework the logic (and removing the bad check for an unreachable block) so that
the FailBB dominator is correctly calculated. Believe it or not, there isn't a
functionality change here.

llvm-svn: 128

Rework the logic (and removing the bad check for an unreachable block) so that
the FailBB dominator is correctly calculated. Believe it or not, there isn't a
functionality change here.

llvm-svn: 128455

show more ...


# 220c9f04 29-Mar-2011 Bill Wendling <[email protected]>

Don't try to add stack protector logic to a dead basic block. It messes up
dominator information.

llvm-svn: 128452


# 96f962fd 28-Mar-2011 Bill Wendling <[email protected]>

In some cases, the "fail BB dominator" may be null after the BB was split (and
becomes reachable when before it wasn't). Check to make sure that it's not null
before trying to use it.

llvm-svn: 1284

In some cases, the "fail BB dominator" may be null after the BB was split (and
becomes reachable when before it wasn't). Check to make sure that it's not null
before trying to use it.

llvm-svn: 128434

show more ...


Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2
# 4d7d7285 11-Mar-2011 Cameron Zwarich <[email protected]>

Fix the GCC test suite issue exposed by r127477, which was caused by stack
protector insertion not working correctly with unreachable code. Since that
revision was rolled out, this test doesn't actua

Fix the GCC test suite issue exposed by r127477, which was caused by stack
protector insertion not working correctly with unreachable code. Since that
revision was rolled out, this test doesn't actual fail before this fix.

llvm-svn: 127497

show more ...


Revision tags: llvmorg-2.9.0-rc1
# 84986b29 08-Jan-2011 Cameron Zwarich <[email protected]>

Make more passes preserve dominators (or state that they preserve dominators if
they all ready do). This removes two dominator recomputations prior to isel,
which is a 1% improvement in total llc tim

Make more passes preserve dominators (or state that they preserve dominators if
they all ready do). This removes two dominator recomputations prior to isel,
which is a 1% improvement in total llc time for 403.gcc.

The only potentially suspect thing is making GCStrategy recompute dominators if
it used a custom lowering strategy.

llvm-svn: 123064

show more ...


# 6c18d1aa 19-Oct-2010 Owen Anderson <[email protected]>

Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which
must be called in the pass's constructor. This function uses static dependency

Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which
must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize
the pass's dependencies.

Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the
CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
before parsing commandline arguments.

I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems
with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass
registration/creation, please send the testcase to me directly.

llvm-svn: 116820

show more ...


# df7a4f25 07-Oct-2010 Owen Anderson <[email protected]>

Now with fewer extraneous semicolons!

llvm-svn: 115996


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# a7aed186 06-Aug-2010 Owen Anderson <[email protected]>

Reapply r110396, with fixes to appease the Linux buildbot gods.

llvm-svn: 110460


# bda59bd2 06-Aug-2010 Owen Anderson <[email protected]>

Revert r110396 to fix buildbots.

llvm-svn: 110410


# 755aceb5 05-Aug-2010 Owen Anderson <[email protected]>

Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.

llvm-svn: 110396


# a57b97e7 21-Jul-2010 Owen Anderson <[email protected]>

Fix batch of converting RegisterPass<> to INTIALIZE_PASS().

llvm-svn: 109045


# dde2ba0b 06-Jul-2010 Chris Lattner <[email protected]>

tighten up this code.

llvm-svn: 107670


# 2ad0c779 06-Jul-2010 Eric Christopher <[email protected]>

Fix up -fstack-protector on linux to use the segment
registers. Split out testcases per architecture and os
now.

Patch from Nelson Elhage.

llvm-svn: 107640


Revision tags: llvmorg-2.7.0
# 9dff9bec 15-Feb-2010 Duncan Sands <[email protected]>

Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!

llvm-svn: 96223


# d2564e3a 05-Jan-2010 Benjamin Kramer <[email protected]>

Move remaining stuff to the isInteger predicate.

llvm-svn: 92771


# 02d5f77d 25-Oct-2009 Nick Lewycky <[email protected]>

Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit

Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.

llvm-svn: 85042

show more ...


Revision tags: llvmorg-2.6.0
# 6aea1a2a 23-Oct-2009 Bill Wendling <[email protected]>

Neuter stack protectors by only checking character arrays. This is what GCC
does.

llvm-svn: 84916


# 55f1c09e 13-Aug-2009 Owen Anderson <[email protected]>

Push LLVMContexts through the IntegerType APIs.

llvm-svn: 78948


# 4fdeba97 15-Jul-2009 Owen Anderson <[email protected]>

Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.

llvm-svn: 75863


12345678