OSDN Git Service

- Modify the stack protector algorithm so that the stack slot is allocated in
authorBill Wendling <isanbard@gmail.com>
Fri, 7 Nov 2008 01:23:58 +0000 (01:23 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 7 Nov 2008 01:23:58 +0000 (01:23 +0000)
commitb7c6ebcb4732302310cfaca81e1d26c3802c1646
treea5d148dcb2aa4d8795973e94eabea5d8fef74803
parent848693c254c1fc4d4956cbe1778b244bb035e0a0
- Modify the stack protector algorithm so that the stack slot is allocated in
  LLVM IR code and not in the selection DAG ISel. This is a cleaner solution.

- Fix the heuristic for determining if protectors are necessary. The previous
  one wasn't checking the proper type size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58824 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Intrinsics.td
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/CodeGen/StackProtector.cpp