Skip to content

Commit

Permalink
Add NetBSD support in sanitizer_libignore.cc
Browse files Browse the repository at this point in the history
Summary:
Reuse Linux, FreeBSD and Apple code - no NetBSD specific changes.

Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas.
    
Sponsored by <The NetBSD Foundation>

Reviewers: joerg, vitalybuka, filcab, kcc

Reviewed By: filcab

Subscribers: emaste, kubamracek, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D35628

llvm-svn: 308616
  • Loading branch information
krytarowski committed Jul 20, 2017
1 parent 734acfd commit d9e9e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc
Expand Up @@ -9,7 +9,7 @@

#include "sanitizer_platform.h"

#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC
#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC || SANITIZER_NETBSD

#include "sanitizer_libignore.h"
#include "sanitizer_flags.h"
Expand Down Expand Up @@ -125,4 +125,4 @@ void LibIgnore::OnLibraryUnloaded() {

} // namespace __sanitizer

#endif // #if SANITIZER_FREEBSD || SANITIZER_LINUX
#endif // #if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC || SANITIZER_NETBSD

0 comments on commit d9e9e44

Please sign in to comment.