diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-01-13 10:47:00 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-01-13 10:47:00 +0000 |
commit | fbcd16c668febfacc827f43bececc601ff2503ed (patch) | |
tree | 73ac39586c95a6a0d74fc256df5092f64ffe8a6d /include/clang/Lex/ModuleMap.h | |
parent | 29b6ec9d09d855b08d98e2a5ddb814104644c4a5 (diff) |
[mips] Fix va_arg() for pointer types on big-endian N32.
Summary:
The Mips ABI's treat pointers in the same way as integers. They are
sign-extended to 32-bit for O32, and 64-bit for N32/N64. This doesn't matter
for O32 and N64 where pointers are already the correct width but it does matter
for big-endian N32, where pointers are 32-bit and need promoting.
The caller side is already passing pointers correctly. This patch corrects the
callee.
Reviewers: vmedic, atanasyan
Reviewed By: atanasyan
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6812
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/ModuleMap.h')
0 files changed, 0 insertions, 0 deletions