summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2017-06-14 13:22:41 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2017-06-14 13:22:41 +0000
commitc582d6e1333800b439c8f6eb123e7a7b9e3cbd76 (patch)
tree860def848a600108de5c7b3611681a2546f6cc7c /clang/lib/Frontend/CompilerInvocation.cpp
parentffc498dfcc8d67e6e9acaebb690377f674457ab4 (diff)
downloadbcm5719-llvm-c582d6e1333800b439c8f6eb123e7a7b9e3cbd76.tar.gz
bcm5719-llvm-c582d6e1333800b439c8f6eb123e7a7b9e3cbd76.zip
[ARM] Support constant pools in data when generating execute-only code.
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: 305387
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud