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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224494 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCExpr.cpp

index 6b69d1ccae3c7f137d9799ac0049f0b3f6c92cef..afacba76d0c21d9de05eb717cf3ad432c3b387ec 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)