Add a corresponding '@LOCAL' parse to match r224415.
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Thu, 18 Dec 2014 03:06:37 +0000 (03:06 +0000)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Thu, 18 Dec 2014 03:06:37 +0000 (03:06 +0000)
Pointed out by Jim Grosbach.

llvm-svn: 224494

llvm/lib/MC/MCExpr.cpp

index 6b69d1c..afacba7 100644 (file)
@@ -354,6 +354,7 @@ MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
     .Case("GOT@HA", VK_PPC_GOT_HA)
     .Case("got@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)