[PATCH] Globals in non-zero address spaces might be null

Pete Cooper via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 16:44:00 PDT 2015


Hi Philip

This is an offshoot of the conversation we had here: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150824/295815.html <http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150824/295815.html>

The attached patch make sure that we only add nonnull attributes to globals in address space 0.  Other address spaces may or may not permit a global to live at address 0, but we have to assume that they might.

Thanks,
Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150826/c156840d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addrspace-nullness.patch
Type: application/octet-stream
Size: 1700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150826/c156840d/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150826/c156840d/attachment-0003.html>


More information about the llvm-commits mailing list