Compile to Assembly?
ashnakash at gmail.com
Sun Nov 15 06:20:05 PST 2015
On Sat, Nov 14, 2015 at 11:53 PM, Daniel <danlrobertson89 at 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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice