[PATCH] D55654: [clang] [Driver] [NetBSD] Add -D_REENTRANT when using sanitizers
Kamil Rytarowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 16 00:10:43 PST 2018
krytarowski added inline comments.
================
Comment at: lib/Driver/ToolChains/NetBSD.cpp:465
+ const SanitizerArgs &SanArgs = getSanitizerArgs();
+ if (SanArgs.needsAsanRt() || SanArgs.needsHwasanRt() ||
+ SanArgs.needsDfsanRt() || SanArgs.needsLsanRt() ||
----------------
There should be some way to express any sanitizer (-fsanitize) and we want _REENTRANT for all of them.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55654/new/
https://reviews.llvm.org/D55654
More information about the cfe-commits
mailing list