diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-01-23 00:05:17 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-01-23 00:05:17 +0000 |
commit | 37abc488a0527bb682af5aa6c4f376b5b99d67e4 (patch) | |
tree | 13d1df3a5e17ba9f525ed60688ff0a9c4d9692d4 /lib/Linker/LinkArchives.cpp | |
parent | 1906d32e55224b7481cd9e5726bd5e14b55f5cc1 (diff) |
Make Value::isDereferenceablePointer() handle unreachable code blocks. (This
returns false in the event the computation feeding into the pointer is
unreachable, which maybe ought to be true -- but this is at least consistent
with undef->isDereferenceablePointer().) Fixes PR11825!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkArchives.cpp')
0 files changed, 0 insertions, 0 deletions