[PATCH] [MC] [IAS] Add support for the \@ .macro pseudo-variable.
Toma Tabacu
toma.tabacu at imgtec.com
Wed Apr 22 08:42:12 PDT 2015
Hi rafael, echristo,
When used, it is instantiated as the number of existing .macro definitions at the time when its .macro was defined.
So if it's inside the 1st defined .macro, \@ will instantiate to 0, if it's inside the 2nd .macro definition, it will instantiate to 1 etc.
It can only be used inside a .macro definition.
http://reviews.llvm.org/D9197
Files:
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/at-pseudo-variable-bad.s
test/MC/AsmParser/at-pseudo-variable.s
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9197.24231.patch
Type: text/x-patch
Size: 7473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/5114d585/attachment.bin>
More information about the llvm-commits
mailing list