On 03/05/2019 13:47, Stephan Bergmann (via logerrit) wrote:
New commits:
commit 9a7aa3326d087c79879e435179e359dd76aa5e0a
Author: Stephan Bergmann <sbergman@redhat.com>
AuthorDate: Tue Apr 16 16:11:39 2019 +0200
Commit: Stephan Bergmann <sbergman@redhat.com>
CommitDate: Fri May 3 13:46:25 2019 +0200
The -fvisibility-ms-compat hack is no longer needed for UBSan on
Linux...
...with latest Clang trunk towards Clang 9. All the no-longer
necessary hacks
are made conditional on new
NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY, which is
still set for UBSan builds with older Clang on Linux (but which
should
eventually be purged).
Various classes needed additional SAL_DLLPUBLIC_RTTI annotations,
as building
with UBSan instrumentation can generate references to RTTI
symbols from
additional places like outside a dynamic library that used to
hide those symbols
by default (but used to not hide them for old UBSan builds thanks
to the
-fvisibility-ms-compat hack).
The odr-violation suppressions in
solenv/sanitizers/asan-suppressions (which is
not referenced from anywhere in the code base, but meant to be
included in an
ASan/UBSan build's ASAN_OPTIONS env var) are also no longer
needed when
NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY is false.
Change-Id: I24ec3e388b0cbab50dbe2bf008d9569bff7bf25a
Reviewed-on: https://gerrit.libreoffice.org/70829
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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.