projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
526ca20
)
Add a corresponding '@LOCAL' parse to match r224415.
author
Justin Hibbits
<jrh29@alumni.cwru.edu>
Thu, 18 Dec 2014 03:06:37 +0000
(
03:06
+0000)
committer
Justin 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
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/MCExpr.cpp
b/llvm/lib/MC/MCExpr.cpp
index
6b69d1c
..
afacba7
100644
(file)
--- a/
llvm/lib/MC/MCExpr.cpp
+++ b/
llvm/lib/MC/MCExpr.cpp
@@
-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)