mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
c36834c832
MemorySanitizer (clang -fsanitize=memory) requires that all code
be compiled with instrumentation enabled. The only exception is the
C runtime library. Failure to use instrumented libraries will cause
bogus messages about memory being uninitialized.
In WITH_MSAN builds, we must avoid calling getservbyname(),
because even though it is a standard library function, it is
not instrumented, not even in clang 10.
Note: Before MariaDB Server 10.5, ./mtr will typically fail
due to the old PCRE library, which was updated in MDEV-14024.
The following cmake options were tested on 10.5
in commit
|
||
---|---|---|
.. | ||
btr0btr.cc | ||
btr0bulk.cc | ||
btr0cur.cc | ||
btr0defragment.cc | ||
btr0pcur.cc | ||
btr0scrub.cc | ||
btr0sea.cc |