aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-08-29 22:40:19 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-08-29 22:40:19 +0000
commit7372b67063d7c91a763a9c4c8be0f1dba1338347 (patch)
tree9fb1db4305f2fb761e5154fdffa52eeaee3d1ecf /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent900b633560ab96e37ea1ecfea3c3603c887aa2c3 (diff)
downloadllvm-7372b67063d7c91a763a9c4c8be0f1dba1338347.zip
llvm-7372b67063d7c91a763a9c4c8be0f1dba1338347.tar.gz
llvm-7372b67063d7c91a763a9c4c8be0f1dba1338347.tar.bz2
[cfi] Avoid branch veneers in jump tables when possible.
Summary: When jumptable encoding does not match target code encoding (arm vs thumb), a veneer is inserted by the linker. We can not avoid this in all cases, because entries within one jumptable must have the same encoding, but we can make it less common by selecting the jumptable encoding to match the majority of its targets. This change only covers FullLTO, and not ThinLTO. Reviewers: pcc Subscribers: aemerson, mehdi_amini, javed.absar, kristof.beyls, llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D37171 llvm-svn: 312054
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions