]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r201784 from upstream llvm trunk (by Benjamin Kramer):
authordim <dim@FreeBSD.org>
Sat, 8 Nov 2014 13:19:48 +0000 (13:19 +0000)
committerdim <dim@FreeBSD.org>
Sat, 8 Nov 2014 13:19:48 +0000 (13:19 +0000)
commitcfcb039e4e385eb6d4f9064f1bf5f55b5a888121
treebc6b425739279387d3ef6eb312296d07c47a33c5
parentac5c592f50cbae9d0b7747972189a4e5cc17d736
Pull in r201784 from upstream llvm trunk (by Benjamin Kramer):

  AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets.

  There is code in the wild that relies on $0 not being expanded.

This fixes some cases of using $ signs in literals being incorrectly
assembled.

Reported by: Richard Henderson
Upstream PR: http://llvm.org/PR21500
MFC after: 3 days
contrib/llvm/lib/MC/MCParser/AsmParser.cpp