[PATCH] MC: Better management of macro arguments

David Majnemer david.majnemer at gmail.com
Mon Jan 27 15:27:36 PST 2014


Hi rafael, grosbach,

The linux kernel makes uses of a GAS `feature' which substitutes nothing
for macro arguments which aren't specified.

Proper support for these kind of macro arguments necessitated a cleanup of
differences between `GAS' and `Darwin' dialect macro processing.

The test file has been split into so that conflicting differences
between the two can be sorted out cleanly (for example: `GNU' permits the
use of space as an argument separator but `Darwin' does not.)

http://llvm-reviews.chandlerc.com/D2634

Files:
  lib/MC/MCParser/AsmParser.cpp
  test/MC/AsmParser/darwin_macros.s
  test/MC/AsmParser/macros.s
  test/MC/AsmParser/gas_macros.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2634.1.patch
Type: text/x-patch
Size: 9206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140127/156c0464/attachment.bin>


More information about the llvm-commits mailing list