HomePhabricator

Add configure options for various -fsanitize flags

Description

Add configure options for various -fsanitize flags

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

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1921

Details

Provenance
deadalnixAuthored on Oct 11 2018, 19:03
schancelPushed on Oct 14 2018, 22:17
Reviewer
Restricted Project
Differential Revision
D1921: Add configure options for various -fsanitize flags
Parents
rSTAGINGdf4d95fb315f: Python3 fixup
Branches
Unknown
Tags
Unknown