aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJian Cai <jiancai@google.com>2021-03-01 15:03:42 -0800
committerJian Cai <jiancai@google.com>2021-03-01 17:41:35 -0800
commitc35105055ee4565ee6726d5b155538dd5c0307d3 (patch)
tree10c4683f37d872299cf88d1ac0da8ea60ccfe871 /clang/lib/Frontend/CompilerInvocation.cpp
parentb17d46430fce665d23661e23ade3ca57c3791836 (diff)
downloadllvm-c35105055ee4565ee6726d5b155538dd5c0307d3.zip
llvm-c35105055ee4565ee6726d5b155538dd5c0307d3.tar.gz
llvm-c35105055ee4565ee6726d5b155538dd5c0307d3.tar.bz2
[ARM] support symbolic expressions as branch target in b.w
Currently ARM backend validates the range of branch targets before the layout of fragments is finalized. This causes build failure if symbolic expressions are used, with the exception of a single symbolic value. For example, "b.w ." works but "b.w . + 2" currently fails to assemble. This fixes the issue by delaying this check (in ARMAsmParser::validateInstruction) of b.w instructions until the symbol expressions are resolved (in ARMAsmBackend::adjustFixupValue). Link: https://github.com/ClangBuiltLinux/linux/issues/1286 Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D97568
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions