diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-06-10 20:24:38 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-06-10 20:24:38 +0000 |
commit | 2e50fedb2ca7e41028eac179dc3966220de1365d (patch) | |
tree | 70e2ef47d7caa8e785fd4134b6533ebc2d3a2a90 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py | |
parent | cef7d378b68c7328d212e17b6fd3dc74b5d08086 (diff) | |
download | bcm5719-llvm-2e50fedb2ca7e41028eac179dc3966220de1365d.tar.gz bcm5719-llvm-2e50fedb2ca7e41028eac179dc3966220de1365d.zip |
[CodeGen] Fix PrologEpilogInserter to avoid duplicate allocation of SEH structs
Summary:
When stack-protection is activated and WinEH exceptions is used,
the EHRegNode (exception handling registration) is allocated twice on the stack.
This was not breaking anything except loosing space on the stack.
```
D:\src\llvm\examples>llc exc2.ll -debug-only=pei
alloc FI(0) at SP[-24]
alloc FI(1) at SP[-48] <<-- Allocated
alloc FI(1) at SP[-72] <<-- Allocated twice!?
alloc FI(2) at SP[-76]
alloc FI(4) at SP[-80]
alloc FI(3) at SP[-84]
```
Reviewers: rnk, majnemer
Subscribers: chrisha, llvm-commits
Differential Revision: http://reviews.llvm.org/D21188
llvm-svn: 272426
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py')
0 files changed, 0 insertions, 0 deletions