[PATCH] D19458: Add address space 258 to Clang documentation
Michael LeMay via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 25 10:21:09 PDT 2016
mlemay-intel updated this revision to Diff 54877.
mlemay-intel added a comment.
Update heading.
http://reviews.llvm.org/D19458
Files:
docs/LanguageExtensions.rst
Index: docs/LanguageExtensions.rst
===================================================================
--- docs/LanguageExtensions.rst
+++ docs/LanguageExtensions.rst
@@ -1912,12 +1912,13 @@
The X86 backend has these language extensions:
-Memory references off the GS segment
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Memory references to specified segments
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Annotating a pointer with address space #256 causes it to be code generated
-relative to the X86 GS segment register, and address space #257 causes it to be
-relative to the X86 FS segment. Note that this is a very very low-level
+relative to the X86 GS segment register, address space #257 causes it to be
+relative to the X86 FS segment, and address space #258 causes it to be
+relative to the X86 SS segment. Note that this is a very very low-level
feature that should only be used if you know what you're doing (for example in
an OS kernel).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19458.54877.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160425/d6839bc8/attachment.bin>
More information about the cfe-commits
mailing list