HomePhabricator

Make llvm.objectsize more conservative with null

Description

Make llvm.objectsize more conservative with null

In non-zero address spaces, we were reporting that an object at null
always occupies zero bytes. This is incorrect in many cases, so just
return unknown in those cases for now.

Differential Revision: https://reviews.llvm.org/D48860

Details