PR18931, PATCH: Crash using integrated assembler with immediate arithmetic
stpworld at narod.ru
Tue Mar 25 09:37:26 PDT 2014
Stepan Dyatkovskiy wrote:
> Hi all!
> Please find patch in attachment for review.
> Expression in test-case 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 immediate, but it
> still expression.
> Patch introduces a Fixup (MCFixup instance), that is processed after
> main encoding stage.
> Patch also contains test-case.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1549 bytes
Desc: not available
More information about the llvm-commits