On Sat, Nov 14, 2015 at 11:53 PM, Daniel <[email protected]> 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.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to