summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-07-05 09:36:03 +0000
committerPeter Smith <peter.smith@linaro.org>2017-07-05 09:36:03 +0000
commit7d66e849fc70c885fbd14b3ad67ab4b6fdd423fd (patch)
tree273f89cd30dc5962157d795f487bd5fd2238e3ae /clang/lib/Lex/Preprocessor.cpp
parent5aedebff381766a1d20313b53ee55924037b391b (diff)
downloadbcm5719-llvm-7d66e849fc70c885fbd14b3ad67ab4b6fdd423fd.tar.gz
bcm5719-llvm-7d66e849fc70c885fbd14b3ad67ab4b6fdd423fd.zip
[ELF] Introduce Thunk reuse compatibility
On ARM the interworking thunks are only produced for branch instructions that can't be changed into a blx instruction so only Thumb callers would call Thumb thunks and only ARM callers would call ARM thunks. With range extension thunks branch and link instructions may need a Thunk. These instructions can be rewritten as a blx and can use either ARM or Thumb thunks. We introduce an isCompatibleWith() function so that a caller can check if an existing Thunk is compatible before reusing it. Differential Revision: https://reviews.llvm.org/D34035 llvm-svn: 307132
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud