History log of /external/llvm/test/MC/AsmParser/macro-args.s
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9714644a38213d059f3ddced08cfc119ca8a0ab7 31-Jul-2012 Jim Grosbach <grosbach@apple.com> Keep empty assembly macro argument values in the middle of the list.

Empty macro arguments at the end of the list should be as-if not specified at
all, but those in the middle of the list need to be kept so as not to screw
up the positional numbering. E.g.:
.macro foo
foo_-bash___:
nop
.endm

foo 1, 2, 3, 4
foo 1, , 3, 4

Should create two labels, "foo_1_2_3_4" and "foo_1__3_4".

rdar://11948769

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161002 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/AsmParser/macro-args.s
68f89a61587e8d482347cf892c2670a869a1ad61 16-Apr-2012 Jim Grosbach <grosbach@apple.com> MC assembly parser handling for trailing comma in macro instantiation.

A trailing comma means no argument at all (i.e., as if the comma were not
present), not an empty argument to the invokee.

rdar://11252521

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/AsmParser/macro-args.s
ae151ed87d4100ec352fee8fc70e2c8c26281c69 17-Mar-2012 Jim Grosbach <grosbach@apple.com> MC asm parser macro argument count was wrong when empty.

evaluated to '1' when the argument list was empty (should be '0').

rdar://11057257

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/AsmParser/macro-args.s
653664471333f316020e96dd3d664f4984f66a65 05-Jun-2011 Rafael Espindola <rafael.espindola@gmail.com> Basic support for macros with explicit arguments.

We still don't handle

* default values
* :req
* :vararg
* \()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/AsmParser/macro-args.s