diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-19 20:03:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-19 20:03:23 +0000 |
commit | e01e363fd9c5a93fe0a584a47a00703ae18090f4 (patch) | |
tree | c6bbd3bb4b1db671119ef34cb58afd2aa4f7d972 /llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp | |
parent | 0334a047df7a1b9592221ac345e6c0663e56891d (diff) | |
download | bcm5719-llvm-e01e363fd9c5a93fe0a584a47a00703ae18090f4.tar.gz bcm5719-llvm-e01e363fd9c5a93fe0a584a47a00703ae18090f4.zip |
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.
llvm-svn: 256105
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp')
0 files changed, 0 insertions, 0 deletions