Implement the stack protector stack accesses via intrinsics:
- stackprotector_prologue creates a stack object and stores the guard there. - stackprotector_epilogue reads the stack guard from the stack position created by stackprotector_prologue. - The PrologEpilogInserter was changed to make sure that the stack guard is first on the stack frame. llvm-svn: 58791
Showing
- llvm/include/llvm/CodeGen/MachineFrameInfo.h 19 additions, 0 deletionsllvm/include/llvm/CodeGen/MachineFrameInfo.h
- llvm/include/llvm/Intrinsics.td 5 additions, 0 deletionsllvm/include/llvm/Intrinsics.td
- llvm/lib/CodeGen/PrologEpilogInserter.cpp 27 additions, 0 deletionsllvm/lib/CodeGen/PrologEpilogInserter.cpp
- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp 43 additions, 0 deletionsllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
- llvm/lib/CodeGen/StackProtector.cpp 11 additions, 9 deletionsllvm/lib/CodeGen/StackProtector.cpp
Loading
Please register or sign in to comment