llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc

22 lines
666 B
C++
Raw Normal View History

//===-- sanitizer_common_nolibc.cc ----------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains stubs for libc function to facilitate optional use of
// libc in no-libcdep sources.
//===----------------------------------------------------------------------===//
#include "sanitizer_platform.h"
#include "sanitizer_common.h"
namespace __sanitizer {
void WriteToSyslog(const char *buffer) {}
}