svn commit: r276223 - projects/clang350-import/contrib/llvm/lib/MC

Dimitry Andric dim at FreeBSD.org
Thu Dec 25 23:57:32 UTC 2014


Author: dim
Date: Thu Dec 25 23:57:31 2014
New Revision: 276223
URL: https://svnweb.freebsd.org/changeset/base/276223

Log:
  Pull in r224415 from upstream llvm trunk (by Justin Hibbits):
  
    Add parsing of 'foo at local".
  
    Summary:
    Currently, it supports generating, but not parsing, this expression.
    Test added as well.
  
    Test Plan: New test added, no regressions due to this.
  
    Reviewers: hfinkel
  
    Reviewed By: hfinkel
  
    Subscribers: llvm-commits
  
    Differential Revision: http://reviews.llvm.org/D6672
  
  Pull in r224494 from upstream llvm trunk (by Justin Hibbits):
  
    Add a corresponding '@LOCAL' parse to match r224415.
  
    Pointed out by Jim Grosbach.

Modified:
  projects/clang350-import/contrib/llvm/lib/MC/MCExpr.cpp

Modified: projects/clang350-import/contrib/llvm/lib/MC/MCExpr.cpp
==============================================================================
--- projects/clang350-import/contrib/llvm/lib/MC/MCExpr.cpp	Thu Dec 25 23:54:57 2014	(r276222)
+++ projects/clang350-import/contrib/llvm/lib/MC/MCExpr.cpp	Thu Dec 25 23:57:31 2014	(r276223)
@@ -348,6 +348,8 @@ MCSymbolRefExpr::getVariantKindForName(S
     .Case("got at h", VK_PPC_GOT_HI)
     .Case("GOT at HA", VK_PPC_GOT_HA)
     .Case("got at ha", VK_PPC_GOT_HA)
+    .Case("local", VK_PPC_LOCAL)
+    .Case("LOCAL", VK_PPC_LOCAL)
     .Case("TOCBASE", VK_PPC_TOCBASE)
     .Case("tocbase", VK_PPC_TOCBASE)
     .Case("TOC", VK_PPC_TOC)


More information about the svn-src-projects mailing list