Page MenuHomePhabricator

Add configure options for various -fsanitize flags
ClosedPublic

Authored by deadalnix on Oct 11 2018, 19:24.

Details

Summary
  • Clean old sanitizer build options
  • Add --with-sanitizers option to configure

This enables the use of different compiler sanitizers, coresponding to
the -fsanitize option in GCC and Clang.

  • build: Show enabled sanitizers in configure output

This is a backport of Core PR12692 and PR12901

Test Plan
../configure --with-sanitizers=address
make
../configure --with-sanitizers=undefined
make
../configure --with-sanitizers=thread
make

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable