summaryrefslogtreecommitdiffstats
path: root/lib/Driver/ToolChains/NetBSD.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-07-04 19:55:56 +0000
committerKamil Rytarowski <n54@gmx.com>2017-07-04 19:55:56 +0000
commit2382d78024b46e906d5fdda758874f9d25ee3c6f (patch)
tree7baddcb66184e39acca6f282adebceaeb988e4a1 /lib/Driver/ToolChains/NetBSD.h
parente20a5f4e97e6bde6c10d591e8466b030b717d258 (diff)
Enable LLVM asan support for NetBSD/amd64
Summary: Enable LLVM asan sanitizer for NetBSD/amd64. Don't generate -ldl for dlopen(3)-like functions on NetBSD. These features are available in libc on NetBSD. Sponsored by <The NetBSD Foundation> Reviewers: joerg, eugenis, kcc, dim Reviewed By: dim Subscribers: #clang, #sanitizers Tags: #clang, #sanitizers Differential Revision: https://reviews.llvm.org/D34960 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains/NetBSD.h')
-rw-r--r--lib/Driver/ToolChains/NetBSD.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Driver/ToolChains/NetBSD.h b/lib/Driver/ToolChains/NetBSD.h
index d53aa68678..412d0815e8 100644
--- a/lib/Driver/ToolChains/NetBSD.h
+++ b/lib/Driver/ToolChains/NetBSD.h
@@ -66,6 +66,7 @@ public:
llvm::opt::ArgStringList &CC1Args) const override;
bool IsUnwindTablesDefault() const override { return true; }
+ SanitizerMask getSupportedSanitizers() const override;
protected:
Tool *buildAssembler() const override;