Rafael Espindola 17920c238d Bring back "Assert that we have all use/users in the getters."
This reverts commit r257751, bringing back r256105.

The problem the assert found was fixed in r257915.

Original commit message:

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@257920 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-15 19:00:20 +00:00
..
2015-12-07 19:21:39 +00:00
2015-12-14 18:34:23 +00:00
2015-12-18 23:46:42 +00:00
2016-01-12 07:23:58 +00:00
2015-12-18 20:13:39 +00:00
2016-01-12 07:23:58 +00:00
2016-01-14 22:34:11 +00:00
2015-12-01 00:48:34 +00:00
2015-12-01 00:48:34 +00:00