blob: 99175d7969747533e55693fe04c852c7c0b94e0e [file] [log] [blame]
Stephen Hinesc6ca60f2023-05-09 02:19:22 -07001//===- JITLoaderGDB.h - Register objects via GDB JIT interface -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Register objects for access by debuggers via the GDB JIT interface.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERGDB_H
14#define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERGDB_H
15
16#include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"
17#include <cstdint>
18
19extern "C" llvm::orc::shared::CWrapperFunctionResult
20llvm_orc_registerJITLoaderGDBWrapper(const char *Data, uint64_t Size);
21
22extern "C" llvm::orc::shared::CWrapperFunctionResult
23llvm_orc_registerJITLoaderGDBAllocAction(const char *Data, size_t Size);
24
25#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERGDB_H