aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2017-06-20 07:20:52 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2017-06-20 07:20:52 +0000
commit2b2b420563f73eacbb0061f7cd49352b9fb29436 (patch)
tree5e1ba0e79f2d7a77de930ec27c22e810971deae6 /lldb/scripts/Python/python-wrapper.swig
parentb5c33628733317a4a1dcd5f447127a439ae436f1 (diff)
downloadllvm-2b2b420563f73eacbb0061f7cd49352b9fb29436.zip
llvm-2b2b420563f73eacbb0061f7cd49352b9fb29436.tar.gz
llvm-2b2b420563f73eacbb0061f7cd49352b9fb29436.tar.bz2
[ARM] Support constant pools in data when generating execute-only code.
Resubmission of r305387, which was reverted at r305390. The Address Sanitizer caught a stack-use-after-scope of a Twine variable. This is now fixed by passing the Twine directly as a function parameter. The ARM backend asserts against constant pool lowering when it generates execute-only code in order to prevent the generation of constant pools in the text section. It appears that target independent optimizations might generate DAG nodes that represent constant pools. By lowering such nodes as global addresses we don't violate the semantics of execute-only code and also it is guaranteed that execute-only behaves correct with the position-independent addressing modes that support execute-only code. Differential Revision: https://reviews.llvm.org/D33773 llvm-svn: 305776
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions