1 //===-- InferiorCallPOSIX.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef lldb_InferiorCallPOSIX_h_
11 #define lldb_InferiorCallPOSIX_h_
13 // Inferior execution of POSIX functions.
15 #include "lldb/lldb-types.h"
17 namespace lldb_private {
28 bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr,
29 lldb::addr_t addr, lldb::addr_t length, unsigned prot,
30 unsigned flags, lldb::addr_t fd, lldb::addr_t offset);
32 bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length);
34 bool InferiorCall(Process *proc, const Address *address,
35 lldb::addr_t &returned_func, bool trap_exceptions = false);
37 } // namespace lldb_private
39 #endif // lldb_InferiorCallPOSIX_h_