diff options
author | Michal Gorny <mgorny@gentoo.org> | 2018-12-19 17:25:59 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2018-12-19 17:25:59 +0000 |
commit | f647a9f7dd4d0d0b440ffcf1804d82d238a69bb5 (patch) | |
tree | 9a54efd18cbedee767b58f2b2a2933ec9fa943c4 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallBuiltinFunction.py | |
parent | 1d43b3210b29cdb1ec46162eb9e7c7ba86865332 (diff) | |
download | bcm5719-llvm-f647a9f7dd4d0d0b440ffcf1804d82d238a69bb5.tar.gz bcm5719-llvm-f647a9f7dd4d0d0b440ffcf1804d82d238a69bb5.zip |
[Driver] [NetBSD] Add -D_REENTRANT when using sanitizers
NetBSD intends to support only reentrant interfaces in interceptors.
When -lpthread is used without _REENTRANT defined, things are
not guaranteed to work.
This is especially important for <stdio.h> and sanitization of
interfaces around FILE. Some APIs have alternative modes depending
on the _REENTRANT definition, and NetBSD intends to support sanitization
of the _REENTRANT ones.
Differential Revision: https://reviews.llvm.org/D55654
llvm-svn: 349650
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallBuiltinFunction.py')
0 files changed, 0 insertions, 0 deletions