aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-01-13 10:47:00 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-01-13 10:47:00 +0000
commitcdcb580d4e7760b7fd2b85fd647c7e5c3478ee99 (patch)
tree1742fac8aea86957c27bf98d1ca0d27517a17e74 /clang/lib/Lex/ModuleMap.cpp
parentcdf8a71d3698feb31b9ef86b16f8b80ceb0d1097 (diff)
downloadllvm-cdcb580d4e7760b7fd2b85fd647c7e5c3478ee99.zip
llvm-cdcb580d4e7760b7fd2b85fd647c7e5c3478ee99.tar.gz
llvm-cdcb580d4e7760b7fd2b85fd647c7e5c3478ee99.tar.bz2
[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 llvm-svn: 225782
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions