mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
1f9320a4cd
Summary: This patch is part of 3 patches that together form a single patch, but must be introduced in stages in order not to break things. The way that LLVM interprets DW_OP_plus in DIExpression nodes is basically that of the DW_OP_plus_uconst operator since LLVM expects an unsigned constant operand. This unnecessarily restricts the DW_OP_plus operator, preventing it from being used to describe the evaluation of runtime values on the expression stack. These patches try to align the semantics of DW_OP_plus and DW_OP_minus with that of the DWARF definition, which pops two elements off the expression stack, performs the operation and pushes the result back on the stack. This is done in three stages: • The first patch (LLVM) adds support for DW_OP_plus_uconst. • The second patch (Clang) contains changes all its uses from DW_OP_plus to DW_OP_plus_uconst. • The third patch (LLVM) changes the semantics of DW_OP_plus and DW_OP_minus to be in line with its DWARF meaning. This patch includes the bitcode upgrade from legacy DIExpressions. Patch by Sander de Smalen. Reviewers: echristo, pcc, aprantl Reviewed By: aprantl Subscribers: fhahn, javed.absar, aprantl, llvm-commits Differential Revision: https://reviews.llvm.org/D33894 llvm-svn: 305386 |
||
---|---|---|
.. | ||
abi_ssp.ll | ||
abi.ll | ||
addr-taken.ll | ||
array-aligned.ll | ||
array.ll | ||
byval.ll | ||
call.ll | ||
cast.ll | ||
coloring2.ll | ||
coloring-ssp.ll | ||
coloring.ll | ||
constant-gep-call.ll | ||
constant-gep.ll | ||
constant-geps.ll | ||
debug-loc2.ll | ||
debug-loc-dynamic.ll | ||
debug-loc.ll | ||
dynamic-alloca.ll | ||
escape-addr-pointer.ll | ||
escape-bitcast-store2.ll | ||
escape-bitcast-store.ll | ||
escape-call.ll | ||
escape-casted-pointer.ll | ||
escape-gep-call.ll | ||
escape-gep-invoke.ll | ||
escape-gep-negative.ll | ||
escape-gep-ptrtoint.ll | ||
escape-gep-store.ll | ||
escape-phi-call.ll | ||
escape-select-call.ll | ||
escape-vector.ll | ||
invoke.ll | ||
layout-frag.ll | ||
layout-region-split.ll | ||
lit.local.cfg | ||
no-attr.ll | ||
phi-cycle.ll | ||
phi.ll | ||
ret.ll | ||
setjmp2.ll | ||
setjmp.ll | ||
sink-to-use.ll | ||
ssp.ll | ||
store.ll | ||
struct.ll |