]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commitaa833b7b0c75bcead16d76ccf8c88ce7a23c47e1
tree827e20a3c080fc9aa50388d749a801689457314b
parent44eea851c3db7948cb14deb2766786c24ade16c7
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/9@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]