hanchenye-llvm-project/clang/lib
Daniel Sanders cdcb580d4e [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
2015-01-13 10:47:00 +00:00
..
ARCMigrate Objective-C SDK modernizer. When modernizing an enum to 2014-12-10 18:25:24 +00:00
AST Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
ASTMatchers Add voidType() matcher. 2014-12-15 15:09:22 +00:00
Analysis Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
Basic PR22208: On FreeBSD systems, __STDC_MB_MIGHT_NEQ_WC__ is expected to be defined 2015-01-13 01:47:45 +00:00
CodeGen [mips] Fix va_arg() for pointer types on big-endian N32. 2015-01-13 10:47:00 +00:00
Driver Reimplement -fsanitize-recover family of flags. 2015-01-12 22:39:12 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format Fix assertion in BreakableBlockComment (http://llvm.org/PR21916). 2015-01-12 13:11:12 +00:00
Frontend Reimplement -fsanitize-recover family of flags. 2015-01-12 22:39:12 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Effectively revert r151058 which caused Clang's unwind.h to defer to 2014-12-29 13:29:38 +00:00
Index [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. 2014-12-08 09:09:05 +00:00
Lex Lex: Don't let annotation tokens get into macro expansion 2014-12-28 07:42:49 +00:00
Parse Parse: Switch to using EOF tokens for late parsed attributes 2015-01-13 08:35:24 +00:00
Rewrite Trim some includes. NFC. 2014-10-29 22:13:46 +00:00
Sema Revert "Sema: An extern declaration can't be a redeclaration of a parameter" 2015-01-13 10:14:57 +00:00
Serialization Fix bogus 'method is unavailable' errors with modules 2015-01-12 19:27:00 +00:00
StaticAnalyzer Use nullptr to silence -Wsentinel when self-hosting on Windows 2014-12-01 22:02:27 +00:00
Tooling Make ArgumentsAdjuster an std::function. 2014-12-03 17:53:02 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00