1 //===- BPFCORE.h - Common info for Compile-Once Run-EveryWhere -*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_BPF_BPFCORE_H
10 #define LLVM_LIB_TARGET_BPF_BPFCORE_H
14 class BPFCoreSharedInfo
{
16 enum OffsetRelocKind
: uint32_t {
17 FIELD_BYTE_OFFSET
= 0,
26 /// The attribute attached to globals representing a field access
27 static const std::string AmaAttr
;