summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2016-12-12 19:11:39 +0000
committerMichael Kuperstein <mkuper@google.com>2016-12-12 19:11:39 +0000
commitd3c66fe68443ed9b451f2f54f1fae8ef313bf8e3 (patch)
tree6e31c4dbe62963972c488d2db68ccd4c200a4f2e /docs
parent4404557edb3cbaaa20f755e9eeb8ffacbf5af457 (diff)
Bring back note about not supporting global register variables.
This was accidentally removed in r260506, even though we only support non-allocatable global register variables. The general (allocatable) case is explicitly not supported. Differential Revision: https://reviews.llvm.org/D27473 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/UsersManual.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst
index 26c8521680..96b7ac95cb 100644
--- a/docs/UsersManual.rst
+++ b/docs/UsersManual.rst
@@ -1830,6 +1830,10 @@ extensions are not implemented yet:
...
local_function(1);
+- clang only supports global register variables when the register specified
+ is non-allocatable (e.g. the stack pointer). Support for general global
+ register variables is unlikely to be implemented soon because it requires
+ additional LLVM backend support.
- clang does not support static initialization of flexible array
members. This appears to be a rarely used extension, but could be
implemented pending user demand.