DescriptionPNaCl: Enable ExpandByVal pass for expanding out passing structs by value
We have to disable two calling conventions tests which test
__attribute__((aligned)) structs. pnacl-clang does not align these
properly when they are function arguments: it omits the LLVM "align"
argument attribute, but since it generates aligned memory accesses,
these become "movaps" on x86 and they fault. I think these tests were
passing by luck before, because the stack location happened to be
16-byte-aligned.
This change will require a change to the PNaCl PPAPI shims when the
PNaCl toolchain is rolled into Chromium.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3400
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3403
TEST=PNaCl toolchain trybots + GCC torture tests + LLVM test suite + Spec2k
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=11232
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Fix #
Total comments: 3
Messages
Total messages: 9 (0 generated)
|