Fixed a bug where CFLAA would crash the compiler.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 12 Feb 2015 03:07:07 +0000 (03:07 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 12 Feb 2015 03:07:07 +0000 (03:07 +0000)
commitc571d114ba81d8b560a79605bd8217ee3dd5009e
tree309037693971009ceced831692fc9aff8e62dfa0
parentffc97a6ae100296b9259dc3e541f5ad72b06b672
Fixed a bug where CFLAA would crash the compiler.

We would crash if we couldn't locate a Function that either Location's
Value belonged to. Now we just print out a debug message and return
conservatively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFLAliasAnalysis.cpp
test/Analysis/CFLAliasAnalysis/asm-global-bugfix.ll [new file with mode: 0644]