[PATCH] D99612: [NFC] Enumerate LLVMOMPOFFLOAD note types.
Vyacheslav Zakharin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 30 11:03:36 PDT 2021
vzakhari created this revision.
vzakhari added a project: OpenMP.
vzakhari requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
This patch is a piece of D99360 <https://reviews.llvm.org/D99360>.
It is a NFC to enumerate types of LLVMOMPOFFLOAD ELF notes. The functional changes depending on this one are D99551 <https://reviews.llvm.org/D99551> and D99552 <https://reviews.llvm.org/D99552>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99612
Files:
llvm/include/llvm/BinaryFormat/ELF.h
Index: llvm/include/llvm/BinaryFormat/ELF.h
===================================================================
--- llvm/include/llvm/BinaryFormat/ELF.h
+++ llvm/include/llvm/BinaryFormat/ELF.h
@@ -1606,6 +1606,13 @@
NT_AMDGPU_METADATA = 32
};
+// LLVMOMPOFFLOAD specific notes.
+enum : unsigned {
+ NT_LLVM_OPENMP_OFFLOAD_VERSION = 1,
+ NT_LLVM_OPENMP_OFFLOAD_PRODUCER = 2,
+ NT_LLVM_OPENMP_OFFLOAD_PRODUCER_VERSION = 3
+};
+
enum {
GNU_ABI_TAG_LINUX = 0,
GNU_ABI_TAG_HURD = 1,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99612.334230.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/a9ed1c65/attachment.bin>
More information about the llvm-commits
mailing list