commit | 1a1140429ee5ca58d9a25aea570940826e478125 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Tue Sep 09 20:05:04 2008 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Tue Sep 09 20:05:04 2008 +0000 |
tree | abc276017e04ec02cf4b83ba2f6f5305b0f34c3f | |
parent | fac18fe2ee18df098626007137350dfa00c16bab [diff] [blame] |
Make safer variant of alias resolution routine to be default llvm-svn: 56005
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index af11fce..be053ab 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp
@@ -394,7 +394,7 @@ &GA); } - const GlobalValue* Aliasee = GA.resolveAliasedGlobal(); + const GlobalValue* Aliasee = GA.resolveAliasedGlobal(/*stopOnWeak*/ false); Assert1(Aliasee, "Aliasing chain should end with function or global variable", &GA);