aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MacroFusion.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-06-19 09:43:43 +0000
committerPeter Smith <peter.smith@linaro.org>2017-06-19 09:43:43 +0000
commit9873c4b509a8fbf536e6b8c52eb8329a6d1d383c (patch)
treee700f539c3714102bbc9e7d3d092853325896159 /llvm/lib/CodeGen/MacroFusion.cpp
parent621894ac76c2ebfaf9c6a601c21550bdf3dc50d6 (diff)
downloadllvm-9873c4b509a8fbf536e6b8c52eb8329a6d1d383c.zip
llvm-9873c4b509a8fbf536e6b8c52eb8329a6d1d383c.tar.gz
llvm-9873c4b509a8fbf536e6b8c52eb8329a6d1d383c.tar.bz2
[ELF] make default for get{ARM,AArch64}UndefinedRelativeWeakVA unreachable
The get{ARM,AArch64}UndefinedRelativeWeakVA() functions should only be called for PC-relative relocations. Complete the supported pc-relative relocations in the switch statement and make the default case unreachable. The R_ARM_TARGET relocation can be evaluated as R_ARM_REL32 but it is only used in the context of exception tables, and is never output with respect to a weak reference so it does not appear in the switch statement. Differential Revision: https://reviews.llvm.org/D34138 llvm-svn: 305673
Diffstat (limited to 'llvm/lib/CodeGen/MacroFusion.cpp')
0 files changed, 0 insertions, 0 deletions