DescriptionCherry-pick Clang upstream r199830 - Handle va_arg on struct types for the le32 target (PNaCl and Emscripten)
Author: mseaborn
Date: Wed Jan 22 14:11:01 2014
New Revision: 199830
URL: http://llvm.org/viewvc/llvm-project?rev=199830&view=rev
Log:
Handle va_arg on struct types for the le32 target (PNaCl and Emscripten)
PNaCl and Emscripten can both handle va_arg IR instructions with
struct type.
Also add a test to cover generating a va_arg IR instruction from
va_arg in C on le32 (as already handled by VisitVAArgExpr() in
CGExprScalar.cpp), which was not covered by a test before.
(This fixes https://code.google.com/p/nativeclient/issues/detail?id=2381)
Differential Revision: http://llvm-reviews.chandlerc.com/D2539
R=mseaborn@chromium.org, dschuff@chromium.org, jvoung@chromium.org
TEST= ninja clang-check
BUG= https://code.google.com/p/nativeclient/issues/detail?id=2381
Committed: c9e1197
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|