diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-29 18:42:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-29 18:42:23 +0000 |
commit | cb7f65342291caa3636cb50c0ee04b383cd79f8d (patch) | |
tree | 22dc8165df04b3500e6eb4b2120d082e9bd79957 /lib/MC/ELFObjectWriter.cpp | |
parent | 0de5cad74d8d2987b92b8d76af3f1eab988b3c7b (diff) |
two changes: 1) make AliasSet hold the list of call sites with an
assertingvh so we get a violent explosion if the pointer dangles.
2) Fix AliasSetTracker::deleteValue to remove call sites with
by-pointer comparisons instead of by-alias queries. Using
findAliasSetForCallSite can cause alias sets to get merged
when they shouldn't, and can also miss alias sets when the
call is readonly.
#2 fixes PR6889, which only repros with a .c file :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions