The sanitizers require instrumentation of the allocation functions and
are generally not compatible with jemalloc. In a worst case scenario
this could lead to false negative. This diffs disables jemalloc when a
sanitizer is enabled and prints a warning.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rABC62d103aa2e8f: [CMAKE] Prevent using jemalloc with the sanitizers
Should print a warning:
cmake -GNinja .. \ -DENABLE_SANITIZERS=address \ -DUSE_JEMALLOC_EXPERIMENTAL=ON
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Print a warning and disable jemalloc rather that requiring the user to enter 2 options