aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-10-28 18:27:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-10-28 18:27:37 +0000
commitd178ada55ea4cc5d71443ec27495092fbb72b230 (patch)
treeec71ccd72ffdb4eac61697c6c45fd9057d6e5e95 /lldb/scripts/Python/python-wrapper.swig
parent4f2fe82b6de2069ae48bd1e8df0e29826ad63351 (diff)
downloadllvm-d178ada55ea4cc5d71443ec27495092fbb72b230.zip
llvm-d178ada55ea4cc5d71443ec27495092fbb72b230.tar.gz
llvm-d178ada55ea4cc5d71443ec27495092fbb72b230.tar.bz2
Transforms: reapply SVN r219899
This restores the commit from SVN r219899 with an additional change to ensure that the CodeGen is correct for the case that was identified as being incorrect (originally PR7272). In the case that during inlining we need to synthesize a value on the stack (i.e. for passing a value byval), then any function involving that alloca must be stripped of its tailness as the restriction that it does not access the parent's stack no longer holds. Unfortunately, a single alloca can cause a rippling effect through out the inlining as the value may be aliased or may be mutated through an escaped external call. As such, we simply track if an alloca has been introduced in the frame during inlining, and strip any tail calls. llvm-svn: 220811
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions