summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h
diff options
context:
space:
mode:
authorScott Linder <scott@scottlinder.com>2018-12-12 19:39:27 +0000
committerScott Linder <scott@scottlinder.com>2018-12-12 19:39:27 +0000
commitf5b36e56fb4d89eab442559a37239eeafe7690d3 (patch)
tree049bb5435cb2728f5d3996f1a79cbc958796a046 /llvm/lib/Target/AMDGPU/AMDGPUPTNote.h
parent3f8f004daf62d1b1007e5c226e8da2dab96eea14 (diff)
downloadbcm5719-llvm-f5b36e56fb4d89eab442559a37239eeafe7690d3.tar.gz
bcm5719-llvm-f5b36e56fb4d89eab442559a37239eeafe7690d3.zip
[AMDGPU] Emit MessagePack HSA Metadata for v3 code object
Continue to present HSA metadata as YAML in ASM and when output by tools (e.g. llvm-readobj), but encode it in Messagepack in the code object. Differential Revision: https://reviews.llvm.org/D48179 llvm-svn: 348963
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUPTNote.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUPTNote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h b/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h
index b50a2eb8e9e..2feff14d34a 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h
@@ -23,7 +23,8 @@ namespace ElfNote {
const char SectionName[] = ".note";
-const char NoteName[] = "AMD";
+const char NoteNameV2[] = "AMD";
+const char NoteNameV3[] = "AMDGPU";
// TODO: Remove this file once we drop code object v2.
enum NoteType{
OpenPOWER on IntegriCloud