[PATCH] D20337: [MC] Support symbolic expressions in assembly directives

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 04:13:38 PDT 2016


On May 18, 2016 8:57 PM, "Petr Hosek" <phosek at chromium.org> wrote:
>
> phosek added a comment.
>
> That would currently trigger an error `error: expected absolute
expression` since `MCAsmStreamer` doesn't currently have any layout
information. Is this something you would like to support as well?

Yes, we should be able to print it too. This suggests that the asm parser
should not be trying to decide if something is a constant or not.

The asm steamer can then just print it. The object steamer can produce
errors or create fragments as appropriate.

Cheers,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160519/a4d65587/attachment.html>


More information about the llvm-commits mailing list