Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
JITLoaderGDB.h
Go to the documentation of this file.
1//===- 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
18#include <cstdint>
19
20// Keep in sync with gdb/gdb/jit.h
21extern "C" {
22
28
35
38 // This should be jit_actions_t, but we want to be specific about the
39 // bit-width.
43};
44}
45
47llvm_orc_registerJITLoaderGDBWrapper(const char *ArgData, size_t ArgSize);
48
50llvm_orc_registerJITLoaderGDBAllocAction(const char *ArgData, size_t ArgSize);
51
52#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERGDB_H
#define LLVM_ABI
Definition Compiler.h:213
LLVM_ABI llvm::orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction(const char *ArgData, size_t ArgSize)
LLVM_ABI llvm::orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBWrapper(const char *ArgData, size_t ArgSize)
jit_actions_t
@ JIT_UNREGISTER_FN
@ JIT_REGISTER_FN
@ JIT_NOACTION
struct jit_code_entry * prev_entry
const char * symfile_addr
uint64_t symfile_size
struct jit_code_entry * next_entry
uint32_t action_flag
struct jit_code_entry * relevant_entry
uint32_t version
struct jit_code_entry * first_entry