diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-29 22:57:09 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-29 22:57:58 +0200 |
commit | de6bdfd78f22a8f4f51a519fe0e72dd16920156d (patch) | |
tree | 693361c9a10fa519aa252e69fd814ac1fc3fac03 /src/validation.h | |
parent | 252c1b0faef42be450fc3dbc72996b6dc5a9b754 (diff) | |
parent | 6feb46c3721605f6ae54d7e635a06f82cd7c1449 (diff) | |
download | bitcoin-de6bdfd78f22a8f4f51a519fe0e72dd16920156d.tar.xz |
Merge #12692: Add configure options for various -fsanitize flags
6feb46c Add --with-sanitizers option to configure (Evan Klitzke)
Pull request description:
This adds configure options for `-fsanitize=address`, `-fsanitize=thread`, and `-fsanitize=undefined` which are all disabled by default. These flags are useful for developers who wish to do additional safety checking. Note that some of these are mutually incompatible, and these may have a large performance overhead.
There's some kind of strange logic required to properly check for the availability of these flags in a way that works on both GCC and Clang, hopefully the comments make it clear what's going on.
Tree-SHA512: 2d6fe402799110e59ee452dddf37f7ca2d26a7fecec50be25c8a134e4a20beb31f1e8f438dffd443641562418075896d1eeb450623425b272d80e05e3027a587
Diffstat (limited to 'src/validation.h')
0 files changed, 0 insertions, 0 deletions