summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-03 15:57:45 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-03 16:00:05 +0100
commit7d22ed707aaf098c996f747ee5d4bbdae506f976 (patch)
tree8060b2cedd996f0b4930edbec4732453a06db0c2
parent041eff7e88dc3f0d653962342c386346eb07b626 (diff)
add ASAN suppression file for multiple static linkage of graphite
ASAN_OPTIONS=...:suppressions=.../solenv/sanitizers/asan-suppressions:... Change-Id: Ibe86fd0bfa0ff9bba45ad6828457195ca9ce46a5
-rw-r--r--solenv/sanitizers/asan-suppressions31
1 files changed, 31 insertions, 0 deletions
diff --git a/solenv/sanitizers/asan-suppressions b/solenv/sanitizers/asan-suppressions
new file mode 100644
index 000000000000..dd2c4f12ce61
--- /dev/null
+++ b/solenv/sanitizers/asan-suppressions
@@ -0,0 +1,31 @@
+# [CUT] cppcanvas_emfplus
+# =================================================================
+# ==32735==ERROR: AddressSanitizer: odr-violation (0x7f8f717e28a0):
+# [1] size=40 'vtable for graphite2::CachedFace' /home/sbergman/lo/core/workdir/UnpackedTarball/graphite/src/CachedFace.cpp
+# [2] size=40 'vtable for graphite2::CachedFace' /home/sbergman/lo/core/workdir/UnpackedTarball/graphite/src/CachedFace.cpp
+# These globals were registered at these points:
+# [1]:
+# #0 in __asan_register_globals.part.13 at /home/sbergman/github.com/llvm-project/llvm-project-20170507/compiler-rt/lib/asan/asan_globals.cc:359:3 (workdir/LinkTarget/Executable/cppunittester +0x446ff0)
+# #1 in asan.module_ctor at <null> (instdir/program/libvclplug_gtk3lo.so +0xed96cb)
+#
+# [2]:
+# #0 in __asan_register_globals.part.13 at /home/sbergman/github.com/llvm-project/llvm-project-20170507/compiler-rt/lib/asan/asan_globals.cc:359:3 (workdir/LinkTarget/Executable/cppunittester +0x446ff0)
+# #1 in asan.module_ctor at <null> (instdir/program/libvcllo.so +0x6e169cb)
+#
+# ...and more (partly because -fvisibility-ms-compat (and "-XClang -ftype-visibility -XClang
+# default", which it internally uses) also gives _ZTV* symbols default visibility):
+odr_violation:^_ZTIN9graphite210CachedCmapE$
+odr_violation:^_ZTSN9graphite210CachedCmapE$
+odr_violation:^_ZTVN9graphite210CachedCmapE$
+odr_violation:^_ZTSN9graphite210CachedFaceE$
+odr_violation:^_ZTIN9graphite210CachedFaceE$
+odr_violation:^_ZTVN9graphite210CachedFaceE$
+odr_violation:^_ZTIN9graphite210DirectCmapE$
+odr_violation:^_ZTSN9graphite210DirectCmapE$
+odr_violation:^_ZTVN9graphite210DirectCmapE$
+odr_violation:^_ZTSN9graphite24FaceE$
+odr_violation:^_ZTIN9graphite24FaceE$
+odr_violation:^_ZTVN9graphite24FaceE$
+odr_violation:^_ZTSN9graphite24FontE$
+odr_violation:^_ZTIN9graphite24FontE$
+odr_violation:^_ZTVN9graphite24FontE$