X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FX86%2FMCTargetDesc%2FX86ELFRelocationInfo.cpp;fp=lib%2FTarget%2FX86%2FMCTargetDesc%2FX86ELFRelocationInfo.cpp;h=a39def98e48ef473e4ebe4ccfbf64780dfa7cb36;hb=19696daa2159e059b9a15cda222e97d2b91b279d;hp=10b83f40fc3833e6c212a0f2455c033555d052c0;hpb=0799eb1140748c4a049f660a2fea26223c80ab03;p=oota-llvm.git diff --git a/lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp b/lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp index 10b83f40fc3..a39def98e48 100644 --- a/lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp +++ b/lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp @@ -34,7 +34,7 @@ public: uint64_t SymSize; SymI->getSize(SymSize); int64_t Addend; getELFRelocationAddend(Rel, Addend); - MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); + MCSymbol *Sym = Ctx.getOrCreateSymbol(SymName); // FIXME: check that the value is actually the same. if (!Sym->isVariable()) Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx));