Add a function for profiling to run at shutdown. Unlike the existing API, this
[llvm/stm8.git] / lib / Support / Process.cpp
blob88ca7c3f220fa3ee1dc7f430ce062242a26f79f1
1 //===-- Process.cpp - Implement OS Process Concept --------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header file implements the operating system Process concept.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Support/Process.h"
15 #include "llvm/Config/config.h"
17 namespace llvm {
18 using namespace sys;
20 //===----------------------------------------------------------------------===//
21 //=== WARNING: Implementation here must contain only TRULY operating system
22 //=== independent code.
23 //===----------------------------------------------------------------------===//
27 // Include the platform-specific parts of this class.
28 #ifdef LLVM_ON_UNIX
29 #include "Unix/Process.inc"
30 #endif
31 #ifdef LLVM_ON_WIN32
32 #include "Windows/Process.inc"
33 #endif