]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/sanitizer_common/sanitizer_allocator_checks.cc
Remove support for alternative Solaris 11.4 ld -V output
[thirdparty/gcc.git] / libsanitizer / sanitizer_common / sanitizer_allocator_checks.cc
CommitLineData
36093749 1//===-- sanitizer_allocator_checks.cc ---------------------------*- C++ -*-===//
2//
3// This file is distributed under the University of Illinois Open Source
4// License. See LICENSE.TXT for details.
5//
6//===----------------------------------------------------------------------===//
7//
8// Various checks shared between ThreadSanitizer, MemorySanitizer, etc. memory
9// allocators.
10//
11//===----------------------------------------------------------------------===//
12
13#include "sanitizer_errno.h"
14
15namespace __sanitizer {
16
17void SetErrnoToENOMEM() {
18 errno = errno_ENOMEM;
19}
20
21} // namespace __sanitizer