[llvm] 50c7e29 - [NFC] Enumerate LLVMOMPOFFLOAD note types.
Vyacheslav Zakharin via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 12 11:07:26 PDT 2021
Author: Vyacheslav Zakharin
Date: 2021-08-12T11:01:41-07:00
New Revision: 50c7e299f153183fa66d2935fa66f924467205f2
URL: https://github.com/llvm/llvm-project/commit/50c7e299f153183fa66d2935fa66f924467205f2
DIFF: https://github.com/llvm/llvm-project/commit/50c7e299f153183fa66d2935fa66f924467205f2.diff
LOG: [NFC] Enumerate LLVMOMPOFFLOAD note types.
It is a NFC to enumerate types of LLVMOMPOFFLOAD ELF notes.
Differential Revision: https://reviews.llvm.org/D99612
Added:
Modified:
llvm/include/llvm/BinaryFormat/ELF.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index 6148f968cdbaa..540675d6b6efd 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -1618,6 +1618,13 @@ enum {
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,
More information about the llvm-commits
mailing list