[llvm-branch-commits] [llvm] [DebugInfo] Emit DW_AT_LLVM_address_space for AMDGPU (PR #220789)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 13 07:41:34 PDT 2026


================
@@ -0,0 +1,35 @@
+//===-- AMDGPUDwarfDebug.h - AMDGPU DwarfDebug Implementation -*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file declares the AMDGPUDwarfDebug class, the AMDGPU-specific subclass
+// of DwarfDebug. It customizes DWARF emission for the AMDGPU DWARF extensions.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUDWARFDEBUG_H
+#define LLVM_LIB_TARGET_AMDGPU_AMDGPUDWARFDEBUG_H
+
+#include "../../CodeGen/AsmPrinter/DwarfDebug.h"
----------------
arsenm wrote:

Don't use relative include paths 

https://github.com/llvm/llvm-project/pull/220789


More information about the llvm-branch-commits mailing list