aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-04-19 18:58:11 +0000
committerRui Ueyama <ruiu@google.com>2016-04-19 18:58:11 +0000
commit960504b91d918590e8bb981229add83e613a9b94 (patch)
tree829ba8ebb329ae5680b61623ef9774f1a6a4f3f6 /llvm/lib/CodeGen/StackProtector.cpp
parent3103f25320ea7c5a605012daa9bb199f560b56eb (diff)
downloadllvm-960504b91d918590e8bb981229add83e613a9b94.zip
llvm-960504b91d918590e8bb981229add83e613a9b94.tar.gz
llvm-960504b91d918590e8bb981229add83e613a9b94.tar.bz2
ELF: Add +, -, *, / and & to SECTIONS linker script command.
This patch is based heavily on George Rimor's patch http://reviews.llvm.org/D19221. In the linker script, you can write expressions to compute addresses. Currently we only support "+" operator. This adds a few more operators. Since this patch adds * and /, we need to handle operator precedences properly. I implemented that using the operator-precedence grammar. Differential Revision: http://reviews.llvm.org/D19237 llvm-svn: 266798
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions