[LLVMdev] Proposed patches for Clang 3.5.1

David Chisnall David.Chisnall at cl.cam.ac.uk
Tue Nov 25 01:33:09 PST 2014


On 24 Nov 2014, at 20:05, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote:

> Clang is generally consistent with itself, but interlinking with GCC-compiled code doesn't work

Actually, clang is pretty inconsistent with itself on bit-endian 64-bit MIPS prior to this work.  Any arguments that end up on the stack are corrupted when calling from clang-compiled code to clang-compiled code.  This is most obvious in variadic calls, but breaks in a load of other places too.

David





More information about the llvm-dev mailing list