aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2014-03-29 13:12:40 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2014-03-29 13:12:40 +0000
commitdf657cc1d55f3dea1ca8fcf676bc5e6425a3da78 (patch)
tree9a4513f9349af5e5eca7b61eff248b827f8e3ce3 /clang/lib/CodeGen/CodeGenModule.cpp
parent2125374ecf6e40f5926e4e689a49fa20aa7ec3e4 (diff)
downloadllvm-df657cc1d55f3dea1ca8fcf676bc5e6425a3da78.zip
llvm-df657cc1d55f3dea1ca8fcf676bc5e6425a3da78.tar.gz
llvm-df657cc1d55f3dea1ca8fcf676bc5e6425a3da78.tar.bz2
Recommitted fix for PR18931, with extended tests set.
Issue subject: Crash using integrated assembler with immediate arithmetic Fix description: Expressions like 'cmp r0, #(l1 - l2) >> 3' could not be evaluated on asm parsing stage, since it is impossible to resolve labels on this stage. In the end of stage we still have expression (MCExpr). Then, when we want to encode it, we expect it to be an immediate, but it still an expression. Patch introduces a Fixup (MCFixup instance), that is processed after main encoding stage. llvm-svn: 205094
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions