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

Roger Ferrer Ibanez via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 13 09:37:40 PDT 2017


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.

Regards,
Roger





More information about the llvm-dev mailing list