Thanks! Testcase please, -Chris
http://nondot.org/sabre http://llvm.org On Nov 16, 2007, at 2:44 PM, Tanya Lattner <[EMAIL PROTECTED]> wrote: > Author: tbrethou > Date: Fri Nov 16 16:44:50 2007 > New Revision: 44193 > > URL: http://llvm.org/viewvc/llvm-project?rev=44193&view=rev > Log: > Fix for PR1801 > > > Modified: > llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp > > Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp > URL: > http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=44193&r1=44192&r2=44193&view=diff > > === > === > === > ===================================================================== > --- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original) > +++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Fri Nov 16 > 16:44:50 2007 > @@ -929,6 +929,9 @@ > } > > ValueName *Name = F->getValueName(); > + if (!Name) > + return UnknownModRefBehavior; > + > unsigned NameLen = Name->getKeyLength(); > const char *NamePtr = Name->getKeyData(); > > > > _______________________________________________ > llvm-commits mailing list > llvm-commits@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits