1 //===-- AMDGPUNoteType.h - AMDGPU ELF PT_NOTE section info-------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
11 /// Enums and constants for AMDGPU PT_NOTE sections.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
17 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
23 const char SectionName
[] = ".note";
25 const char NoteNameV2
[] = "AMD";
26 const char NoteNameV3
[] = "AMDGPU";
28 // TODO: Remove this file once we drop code object v2.
30 NT_AMDGPU_HSA_RESERVED_0
= 0,
31 NT_AMDGPU_HSA_CODE_OBJECT_VERSION
= 1,
32 NT_AMDGPU_HSA_HSAIL
= 2,
33 NT_AMDGPU_HSA_ISA
= 3,
34 NT_AMDGPU_HSA_PRODUCER
= 4,
35 NT_AMDGPU_HSA_PRODUCER_OPTIONS
= 5,
36 NT_AMDGPU_HSA_EXTENSION
= 6,
37 NT_AMDGPU_HSA_RESERVED_7
= 7,
38 NT_AMDGPU_HSA_RESERVED_8
= 8,
39 NT_AMDGPU_HSA_RESERVED_9
= 9,
40 NT_AMDGPU_HSA_HLDEBUG_DEBUG
= 101,
41 NT_AMDGPU_HSA_HLDEBUG_TARGET
= 102
47 #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUNOTETYPE_H