[llvm-dev] [cfe-dev] RFC: Add a way to interleave source code in assembler output

Andrey Bokhanko via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 13 14:57:35 PDT 2017


Hi Roger,

First of all, it's great to see you started to work on this!

On Mon, Mar 13, 2017 at 5:37 PM, Roger Ferrer Ibanez <
Roger.FerrerIbanez at arm.com> wrote:

> Hi Andrey,
>
> > ...speaking on inline assembler, I wonder how your implementation works
> with it? Does it simply print a whole inline assembly statement (from C
> source code) before printing it again (from generated assembler)?
>
> My experiments show that only the first line is shown for asm blocks that
> span more than one line. Instructions emitted after the block will make the
> remaining lines to be shown. Maybe we can handle this case specially, not
> sure.
>

Not sure I understand exactly how it looks, but either way this doesn't
seem to be right. This is probably OK for the first version, but definitely
should be fixed in the end. I would suggest filing a bug report after
committing initial set of patches. (And then fixing said bug report, of
course! ;-))

Yours,
Andrey
---
Compiler Architect
NXP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170313/b3d5251d/attachment.html>


More information about the llvm-dev mailing list