[llvm] r224494 - Add a corresponding '@LOCAL' parse to match r224415.
Justin Hibbits
jrh29 at alumni.cwru.edu
Wed Dec 17 19:06:37 PST 2014
Author: jhibbits
Date: Wed Dec 17 21:06:37 2014
New Revision: 224494
URL: http://llvm.org/viewvc/llvm-project?rev=224494&view=rev
Log:
Add a corresponding '@LOCAL' parse to match r224415.
Pointed out by Jim Grosbach.
Modified:
llvm/trunk/lib/MC/MCExpr.cpp
Modified: llvm/trunk/lib/MC/MCExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCExpr.cpp?rev=224494&r1=224493&r2=224494&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCExpr.cpp (original)
+++ llvm/trunk/lib/MC/MCExpr.cpp Wed Dec 17 21:06:37 2014
@@ -354,6 +354,7 @@ MCSymbolRefExpr::getVariantKindForName(S
.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 llvm-commits
mailing list