llvm-6502/lib
Jay Foad 8b9cea42db [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/trunk@222996 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-01 09:42:32 +00:00
..
Analysis Relax an assert a bit to avoid a crash on unreachable code. 2014-12-01 02:55:24 +00:00
AsmParser
Bitcode
CodeGen [stack protector] Set edge weights for newly created basic blocks. 2014-12-01 04:27:03 +00:00
DebugInfo
ExecutionEngine Add LLVMObject to LLVMExecutionEngine. 2014-11-27 06:36:22 +00:00
IR Revert "Masked Vector Load and Store Intrinsics." 2014-11-28 21:29:14 +00:00
IRReader
LineEditor
Linker Change how we keep track of which types are in the dest module. 2014-12-01 04:15:59 +00:00
LTO
MC Commit back the correct bits of r222760 (was r222538). 2014-11-27 17:13:56 +00:00
Object Object/COFF: Fix off-by-one error for object having lots of relocations 2014-11-26 22:17:25 +00:00
Option
ProfileData
Support
TableGen Revert r222957 "Replace std::map<K, V*> with std::map<K, V> to handle ownership and deletion of the values." 2014-11-30 01:20:17 +00:00
Target [PowerPC] Fix unwind info with dynamic stack realignment 2014-12-01 09:42:32 +00:00
Transforms [asan] Change dynamic alloca instrumentation to only consider allocas that are dominating all exits from function. 2014-12-01 08:47:58 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile