Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On Sat, Nov 14, 2015 at 11:53 PM, Daniel <danlrobertson89@gmail.com> wrote:

Is some workflow to compile to or inspect the assebly generated from
an LO build? I currently re-write whatever function I'm working on in
a separate file and compile that file (with simple conversions like
sal_* -> non-sal) or use gdb. Just wondered if there was something
better out there.


You can temporarily change the compiler options (see solenv/gbuild/...) to
generate assembly.

For gcc that's -S and for MSC -FA[csu] (where c gives you machine code as
well, s adds source code as comments, and u for unicode).

I'd expect this to be easier than copying the function out, but will
potentially generate much more output than you might want.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.