[llvm-commits] [llvm] r44193 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Tanya Lattner
tonic at nondot.org
Fri Nov 16 14:44:51 PST 2007
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();
More information about the llvm-commits
mailing list