[LLVMdev] Is address space 1 reserved?

Owen Anderson resistor at mac.com
Wed Jan 7 12:13:21 PST 2015


It is very hard in principle to reserve an address space for target independent use once there are already clients defining their own mappings, because you risk breaking their existing bitcode files.

In practice, you could probably get away with it if you pick a stupidly high address space number.

-Owen

> On Jan 7, 2015, at 1:57 PM, Nick Lewycky <nlewycky at google.com> wrote:
> 
> It would be nice to have an addrspace that does mean "same as addrspace(0) except that null may be dereferenceable", and to attach that to -fno-delete-null-pointer-checks. Any ideas for what that addrspace should be?




More information about the llvm-dev mailing list