diff options
author | Petr Pavlu <petr.pavlu@arm.com> | 2018-12-10 15:15:05 +0000 |
---|---|---|
committer | Petr Pavlu <petr.pavlu@arm.com> | 2018-12-10 15:15:05 +0000 |
commit | 84e89ff06f74e85ac7a7c677d60f14e9c4e07865 (patch) | |
tree | 4cb5ec1eec776a519d4d46cbb2569ba8fe248527 /lldb/packages/Python/lldbsuite/support/gmodules.py | |
parent | 4433f93afe901ecd9cc85706ff9c41b79ccbc725 (diff) | |
download | bcm5719-llvm-84e89ff06f74e85ac7a7c677d60f14e9c4e07865.tar.gz bcm5719-llvm-84e89ff06f74e85ac7a7c677d60f14e9c4e07865.zip |
[GlobalISel] Set stack protector index when translating Intrinsic::stackprotector
Record the stack protector index in MachineFrameInfo when translating
Intrinsic::stackprotector similarly as is done by SelectionDAG when
processing the same intrinsic.
Setting this index allows the Prologue/Epilogue Insertion to recognize
that the stack protection is enabled. The pass can then make sure that
the stack protector comes before local variables on the stack and
assigns potentially vulnerable objects first so they are close to the
stack protector slot.
Differential Revision: https://reviews.llvm.org/D55418
llvm-svn: 348761
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions