mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Initial commit for platform independent system configuration support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
0132bd4dc1
commit
d808bcaefe
1 file changed
+30
@@ -0,0 +1,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
|
||||
Reference in new issue
Block a user