• Stephan Bergmann's avatar
    New --enable-compiler-plugins=debug mode · 32c31c03
    Stephan Bergmann yazdı
    ...to enable debug-only code in the plugins.  Some situations in the plugin code
    should never happen, yet must not by default report errors or trigger
    assertions, as some newly written LO code could trigger them nevertheless (in
    which case the plugin code will likely need to be adapted, to cater for these
    presumed-impossible situations).
    
    Such code can now be included in the plugins behind an if(isDebugMode()) guard,
    and can explicitly be enabled with --enable-compiler-plugins=debug.
    
    I deliberately made this a runtime rather than a compile time option (using
    some #ifdef guards in the plugin code, say), as it IMO keeps the code more
    readable, and also allows overridding COMPILER_PLUGINS_DEBUG=... on the make
    command line.
    
    Change-Id: Iea4f0c2783ad968a0de097fa710b3be1a248de73
    Reviewed-on: https://gerrit.libreoffice.org/46096Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    32c31c03
Adı
Son kayıt (commit)
Son güncelleme
..
bin Loading commit data...
buck Loading commit data...
clang-cl Loading commit data...
clang-format Loading commit data...
doc/gbuild Loading commit data...
gbuild Loading commit data...
gbuildtojson Loading commit data...
gcc-wrappers Loading commit data...
gdb Loading commit data...
inc Loading commit data...
lldb/libreoffice Loading commit data...
maven Loading commit data...
qa/python Loading commit data...
sanitizers Loading commit data...
vs Loading commit data...
CompilerTest_compilerplugins_clang.mk Loading commit data...
CustomTarget_gbuildtesttools.mk Loading commit data...
Executable_concat-deps.mk Loading commit data...
Executable_g++-wrapper.mk Loading commit data...
Executable_gbuildtojson.mk Loading commit data...
Executable_gcc-wrapper.mk Loading commit data...
Makefile Loading commit data...
Module_solenv.mk Loading commit data...
PythonTest_solenv_python.mk Loading commit data...
README Loading commit data...
StaticLibrary_wrapper.mk Loading commit data...
flatpak-manifest.in Loading commit data...