llvm-6502/lib
Hal Finkel 78939b994f Merging r222996:
------------------------------------------------------------------------
r222996 | foad | 2014-12-01 09:42:32 +0000 (Mon, 01 Dec 2014) | 19 lines

[PowerPC] Fix unwind info with dynamic stack realignment

Summary:
PowerPC DWARF unwind info defined CFA as SP + offset even in a function
where the stack had been dynamically realigned. This clearly doesn't
work because the offset from SP to CFA is not a constant. Fix it by
defining CFA as BP instead.

This was causing the AddressSanitizer null_deref test to fail 50% of
the time, depending on whether SP happened to be 32-byte aligned on
entry to a particular function or not.

Reviewers: willschm, uweigand, hfinkel

Reviewed By: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6410
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@223744 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-09 02:33:41 +00:00
..
Analysis Merging r223500 (this time for real): 2014-12-08 23:29:14 +00:00
AsmParser
Bitcode
CodeGen Merging r214670: 2014-08-12 05:41:11 +00:00
DebugInfo
ExecutionEngine Fixing an MSVC conversion warning about implicitly converting the shift results to 64-bits. No functional change intended. 2014-07-21 12:31:43 +00:00
IR I did not intend to merge these in. 2014-12-08 09:15:41 +00:00
IRReader
LineEditor
Linker
LTO MergedLoadStoreMotion pass 2014-07-18 19:13:09 +00:00
MC Merging r221408: 2014-11-24 21:37:42 +00:00
Object Correct the ownership passing semantics of object::createBinary and make them explicit in the type system. 2014-07-21 16:26:24 +00:00
Option
ProfileData
Support Merging r213894: 2014-07-29 23:27:06 +00:00
TableGen
Target Merging r222996: 2014-12-09 02:33:41 +00:00
Transforms I did not intend to merge these in. 2014-12-08 09:15:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile