blob: 8f89c5ccb668f47d1c0f6a95d6e55a06bfbca9b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//===- llvm/System/SysConfig.h - System Configuration ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the SysConfig utilities for platform independent system
// configuration (both globally and at the process level).
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_SYSTEM_SYSCONFIG_H
#define LLVM_SYSTEM_SYSCONFIG_H
namespace llvm {
namespace sys {
/// This function makes the necessary calls to the operating system to prevent
/// core files or any other kind of large memory dumps that can occur when a
/// program fails.
/// @brief Prevent core file generation.
void PreventCoreFiles();
} // End sys namespace
} // End llvm namespace
#endif
|