summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/DominatorTreeTest.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-23 06:43:53 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-23 06:43:53 +0000
commit7c8f96a91b9edde97ccd0dfaaa04e5bb04e308c6 (patch)
treecfdb4e8d8c3fe11238e870ae1db1283750d253db /llvm/unittests/IR/DominatorTreeTest.cpp
parentd154e283f28525a5fcfb063d4b527bb9a68a8608 (diff)
downloadbcm5719-llvm-7c8f96a91b9edde97ccd0dfaaa04e5bb04e308c6.tar.gz
bcm5719-llvm-7c8f96a91b9edde97ccd0dfaaa04e5bb04e308c6.zip
Add the heuristic to differentiate SSPStrong from SSPRequired.
The requirements of the strong heuristic are: * A Protector is required for functions which contain an array, regardless of type or length. * A Protector is required for functions which contain a structure/union which contains an array, regardless of type or length. Note, there is no limit to the depth of nesting. * A protector is required when the address of a local variable (i.e., stack based variable) is exposed. (E.g., such as through a local whose address is taken as part of the RHS of an assignment or a local whose address is taken as part of a function argument.) llvm-svn: 173231
Diffstat (limited to 'llvm/unittests/IR/DominatorTreeTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud