diff options
author | Tim Shen <timshen91@gmail.com> | 2016-04-19 20:14:52 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2016-04-19 20:14:52 +0000 |
commit | a1d8bc559761c94dded3d1e7200cb264a982d1c5 (patch) | |
tree | defb71dc282b62864f218f590486990247491956 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 8743f8ca245d94e91889f376c236aed81b61ffa3 (diff) | |
download | bcm5719-llvm-a1d8bc559761c94dded3d1e7200cb264a982d1c5.tar.gz bcm5719-llvm-a1d8bc559761c94dded3d1e7200cb264a982d1c5.zip |
[PPC, SSP] Support PowerPC Linux stack protection.
llvm-svn: 266809
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index 18202fa6987..67e35a73b87 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -1814,6 +1814,6 @@ void TargetLoweringBase::insertSSPDeclarations(Module &M) const { // Currently only support "standard" __stack_chk_guard. // TODO: add LOAD_STACK_GUARD support. -Value *TargetLoweringBase::getSDStackGuard(const Module &M) const { +Value *TargetLoweringBase::getSDagStackGuard(const Module &M) const { return M.getGlobalVariable("__stack_chk_guard"); } |