diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-10-14 13:46:07 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-10-14 13:46:07 +0000 |
| commit | 9e984c513758478c1484d08ecb152bc0dbffa314 (patch) | |
| tree | a656b359f1f447729b924eeed608b75c72a6480b /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 45bfe37a8ce46ce13a1429ed7bc15ba4f134ae4f (diff) | |
| download | llvm-9e984c513758478c1484d08ecb152bc0dbffa314.zip llvm-9e984c513758478c1484d08ecb152bc0dbffa314.tar.gz llvm-9e984c513758478c1484d08ecb152bc0dbffa314.tar.bz2 | |
[sanitizer] Fix a crash in FP unwinder on ARM.
This change fixes 2 issues in the fast unwinder from r217079:
* A crash if a frame pointer points below current stack head, but
inside the current thread stack limits. That memory may be
unmapped. A check for this was lost in r217079.
* The last valid stack frame (the first one with an invalid next
frame pointer) is always interpreted as a GCC layout frame. This
results in garbled last PC in the (expected) case when the last
frame has LLVM layout.
llvm-svn: 219683
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
