]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r274286:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Nov 2014 08:00:49 +0000 (08:00 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Nov 2014 08:00:49 +0000 (08:00 +0000)
commit4aa3f2c5ff5593405964522d52baf2977bc59719
treeeb60bcfd146806165591ffae8b5d14050d45dc8d
parent784eb570492fe8d7446633449681066591557d95
MFC r274286:

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 r274294:

Add llvm patch corresponding to r274286.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/lib/MC/MCParser/AsmParser.cpp
contrib/llvm/patches/patch-r274286-llvm-r201784-asm-dollar.diff [new file with mode: 0644]