[llvm-commits] [PATCH] Review request: Allow assembly macro parameters and arguments delimited by spaces

Zhang, Andy andy.zhang at intel.com
Wed Sep 5 12:00:50 PDT 2012


On August 30, 2012 5:41 PM, PaX Team wrote:

> to help you guys move this up to trunk after the recent commits, i'm
> attaching my current version against r162943. note the change in
> ParseMacroArguments where i had to accomodate GNU as in that it does
> not accept empty/missing macro arguments unlike (apparently) darwin's
> does.

Do you mean something like:
.macro mymacro a, b=%eax, c=%ecx
...
.endm

mymacro %eax,,%ecx

will not work in GNU as on non-Darwin? It seems to work just fine on Linux.

- Andy




More information about the llvm-commits mailing list