summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-07-05 09:12:54 +0000
committerPeter Smith <peter.smith@linaro.org>2017-07-05 09:12:54 +0000
commit5aedebff381766a1d20313b53ee55924037b391b (patch)
treec0e6382aa75e55123792c7be80530df411caab05 /clang/lib/Lex/Preprocessor.cpp
parent040c0f96ccac253ae4bfd9ce807e268b4ced155f (diff)
downloadbcm5719-llvm-5aedebff381766a1d20313b53ee55924037b391b.tar.gz
bcm5719-llvm-5aedebff381766a1d20313b53ee55924037b391b.zip
[ELF] Extract allocateHeaders() from assignAddresses()
The allocateHeaders() function is called at the end of assignAddresses(), it decides whether the ELF header and program header table can be allocated to a PT_LOAD program header. As the function alters state, it prevents assignAddresses() from being called multiple times. This change splits out the call to allocateHeaders() from assignAddresses() this will permit assignAddresses() to be called while processing range extension thunks without trying to allocateHeaders(). Differential Revision: https://reviews.llvm.org/D34344 llvm-svn: 307131
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud