commit | fdb838f3f8a8b6896bbbd5285555874eb3b748eb | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Sat Dec 19 20:03:23 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Sat Dec 19 20:03:23 2015 +0000 |
tree | bb327efea5430802f5c35627328bdffe7a062dd1 | |
parent | 25b4ccf2a65d754b09169602e88e12637d7068b7 [diff] |
Assert that we have all use/users in the getters. An error that is pretty easy to make is to use the lazy bitcode reader and then do something like if (V.use_empty()) The problem is that uses in unmaterialized functions are not accounted for. This patch adds asserts that all uses are known. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256105 91177308-0d34-0410-b5e6-96231b3b80d8