CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
54 lines
2.3 KiB
C
54 lines
2.3 KiB
C
/* Copyright (C) 2023-2024 Free Software Foundation, Inc.
|
|
|
|
This file is part of GDB.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
#ifndef GDB_CGEN_REMAP_H
|
|
#define GDB_CGEN_REMAP_H
|
|
|
|
/* Remap cgen interface names, so we can have multiple cgen generated include
|
|
files in gdb without violating c++ ODR. */
|
|
|
|
/* Define GDB_CGEN_REMAP_PREFIX to the desired remapping prefix before
|
|
including this file. */
|
|
#ifndef GDB_CGEN_REMAP_PREFIX
|
|
# error "GDB_CGEN_REMAP_PREFIX not defined"
|
|
#endif
|
|
|
|
#define GDB_CGEN_REMAP_2(PREFIX, SYM) PREFIX ## _ ## SYM
|
|
#define GDB_CGEN_REMAP_1(PREFIX, SYM) GDB_CGEN_REMAP_2 (PREFIX, SYM)
|
|
#define GDB_CGEN_REMAP(SYM) GDB_CGEN_REMAP_1 (GDB_CGEN_REMAP_PREFIX, SYM)
|
|
|
|
#define cgen_operand_type GDB_CGEN_REMAP (cgen_operand_type)
|
|
#define cgen_hw_type GDB_CGEN_REMAP (cgen_hw_type)
|
|
#define cgen_ifld GDB_CGEN_REMAP (cgen_ifld)
|
|
#define cgen_insn GDB_CGEN_REMAP (cgen_insn)
|
|
#define cgen_cpu_desc GDB_CGEN_REMAP (cgen_cpu_desc)
|
|
#define cgen_fields GDB_CGEN_REMAP (cgen_fields)
|
|
#define cgen_insn_list GDB_CGEN_REMAP (cgen_insn_list)
|
|
#define cgen_maybe_multi_ifield GDB_CGEN_REMAP (cgen_maybe_multi_ifield)
|
|
#define CGEN_OPINST GDB_CGEN_REMAP (CGEN_OPINST)
|
|
#define CGEN_IFMT_IFLD GDB_CGEN_REMAP (CGEN_IFMT_IFLD)
|
|
#define CGEN_INSN_ATTR_TYPE GDB_CGEN_REMAP (CGEN_INSN_ATTR_TYPE)
|
|
#define CGEN_IBASE GDB_CGEN_REMAP (CGEN_IBASE)
|
|
#define CGEN_HW_ENTRY GDB_CGEN_REMAP (CGEN_HW_ENTRY)
|
|
#define CGEN_HW_TABLE GDB_CGEN_REMAP (CGEN_HW_TABLE)
|
|
#define CGEN_INSN_TABLE GDB_CGEN_REMAP (CGEN_INSN_TABLE)
|
|
#define CGEN_OPERAND_TABLE GDB_CGEN_REMAP (CGEN_OPERAND_TABLE)
|
|
#define CGEN_OPERAND GDB_CGEN_REMAP (CGEN_OPERAND)
|
|
#define CGEN_MAYBE_MULTI_IFLD GDB_CGEN_REMAP (CGEN_MAYBE_MULTI_IFLD)
|
|
|
|
#endif /* GDB_CGEN_REMAP_H */
|