diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-21 16:25:54 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-26 17:29:09 +0200 |
commit | 6b72769c1e61b86b579b6dd8b0c221c9e618fe1a (patch) | |
tree | bcad41c24d14b366f8a49953c5e41dbe95b09368 /external | |
parent | For Clang -fsanitize=vptr use -fvisibility-ms-compat, not -fvisibility=hidden (diff) | |
download | core-6b72769c1e61b86b579b6dd8b0c221c9e618fe1a.tar.gz core-6b72769c1e61b86b579b6dd8b0c221c9e618fe1a.zip |
external/libetonyek: -fsanitize=enum
e.g., during CppunitTest_writerperfect_impress
Change-Id: Ib9eb7a9ba7c9bad9cc43fbe2132ca315e2f28c0a
(cherry picked from commit 15cc77f8d3d1edfd0e8114829bc4b340c3d73b4d)
Diffstat (limited to 'external')
-rw-r--r-- | external/libetonyek/UnpackedTarball_libetonyek.mk | 1 | ||||
-rw-r--r-- | external/libetonyek/ubsan.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/external/libetonyek/UnpackedTarball_libetonyek.mk b/external/libetonyek/UnpackedTarball_libetonyek.mk index c531894fab08..834bef2bfa32 100644 --- a/external/libetonyek/UnpackedTarball_libetonyek.mk +++ b/external/libetonyek/UnpackedTarball_libetonyek.mk @@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libetonyek,\ external/libetonyek/assert.patch \ external/libetonyek/0001-missing-include.patch.1 \ external/libetonyek/win_build.patch.1 \ + external/libetonyek/ubsan.patch \ )) ifeq ($(COM_GCC_IS_CLANG),TRUE) diff --git a/external/libetonyek/ubsan.patch b/external/libetonyek/ubsan.patch new file mode 100644 index 000000000000..f0ab1475a5fb --- /dev/null +++ b/external/libetonyek/ubsan.patch @@ -0,0 +1,11 @@ +--- src/lib/contexts/IWORKPropertyMapElement.cpp ++++ src/lib/contexts/IWORKPropertyMapElement.cpp +@@ -264,7 +264,7 @@ + + void AlignmentElement::endOfElement() + { +- IWORKAlignment prop; ++ IWORKAlignment prop = IWORK_ALIGNMENT_LEFT; + + if (m_value) + { |