Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Philip Reames <listmail <at> philipreames.com>
Subject: Is address space 1 reserved?
Newsgroups: gmane.comp.compilers.llvm.devel
Date: Wednesday 7th January 2015 19:18:53 UTC (over 3 years ago)
On the review for http://reviews.llvm.org/D6808,
majnemer 
<http://reviews.llvm.org/p/majnemer/>
commented that:
"Address space 1 has a special meaning in LLVM, it's identical to 
address space 0 except for the fact that "null" may be dereferenced. You 
might want to consider a different address space."

This is the first I've heard of this and I can't find any documentation 
about it being reserved, either in general, or specifically for x86.  
Can anyone clarify?

The only address spaces with special meanings I know of are:
- 0 (the normal address space, null is not dereferencable)
- 256 - TLS, GS relative addressing
- 257 - FS relative addressing

Philip
 
CD: 3ms