diff options
| author | Renato Golin <renato.golin@linaro.org> | 2014-06-05 16:45:22 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2014-06-05 16:45:22 +0000 |
| commit | 6649699a62886e564642cf5cb0cd067a89f5ca42 (patch) | |
| tree | a2390e3cfb782d6ef6682a6c7fd00ea016dc3931 /lib/CodeGen/ModuleBuilder.cpp | |
| parent | 705e8b161676304b8f4dabdf819ae0909d10c69a (diff) | |
| download | clang-6649699a62886e564642cf5cb0cd067a89f5ca42.tar.gz clang-6649699a62886e564642cf5cb0cd067a89f5ca42.tar.bz2 clang-6649699a62886e564642cf5cb0cd067a89f5ca42.tar.xz | |
Add pointer types to global named register
This patch adds support for pointer types in global named registers variables.
It'll be lowered as a pair of read/write_register and inttoptr/ptrtoint calls.
Also adds some early checks on types on SemaDecl to avoid the assert.
Tests changed accordingly. (PR19837)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
