commit | 10310d2d1140969e6ebc43d60969747067199478 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Mon Oct 24 21:47:44 2016 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Mon Oct 24 21:47:44 2016 +0000 |
tree | 34496afc08c468931b0cec38f5e66eb4b07fa981 | |
parent | 8d980444a43cbe7df3438b98806d4ac38001ebd0 [diff] |
Fix regression from my recent GlobalsAA fix. There are two fixes here: one, AnalyzeUsesOfPointer can't return false until it has checked all the uses of the pointer. Two, if a global uses another global, we have to assume the address of the first global escapes. Fixes https://llvm.org/bugs/show_bug.cgi?id=30707 . Differential Revision: https://reviews.llvm.org/D25798 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285034 91177308-0d34-0410-b5e6-96231b3b80d8