[Libreoffice] [PATCH] Mark ecx register as clobbered (in cpp_uno/gcc3_macosx_intel)

Kristian Rietveld kris at lanedo.com
Sat Oct 15 03:03:36 PDT 2011

On 10/15/11 10:44 AM, Stephan Bergmann wrote:
> On 10/15/2011 01:25 AM, Kristian Rietveld wrote:
>> Without this patch, Cpp bridgetest on a Clang-compiled UNO runtime will
>> not complete successfully.
> Hm, but the asm code in question does not use ecx at all?!?

The asm code performs a call instruction and the called function does 
not have to preserve the contents of the ecx register, so ecx may have 
been overwritten when execution continues in this inline assembly after 
returning from the called function.



More information about the LibreOffice mailing list