xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h (revision 271171e0d97b88ba2a7c3bf750c9672b484c1c13)
1 //===-- AMDGPUNoteType.h - AMDGPU ELF PT_NOTE section info-------*- 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 /// \file
10 ///
11 /// Enums and constants for AMDGPU PT_NOTE sections.
12 ///
13 //
14 //===----------------------------------------------------------------------===//
15 //
16 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
17 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
18 
19 namespace llvm {
20 namespace AMDGPU {
21 
22 namespace ElfNote {
23 
24 const char SectionName[] = ".note";
25 
26 const char NoteNameV2[] = "AMD";
27 const char NoteNameV3[] = "AMDGPU";
28 
29 } // End namespace ElfNote
30 } // End namespace AMDGPU
31 } // End namespace llvm
32 #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H
33