| 1 | //===============- BPFTargetLoweringObjectFile.h -*- 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 | #ifndef LLVM_LIB_TARGET_BPF_BPFTARGETLOWERINGOBJECTFILE |
| 10 | #define LLVM_LIB_TARGET_BPF_BPFTARGETLOWERINGOBJECTFILE |
| 11 | |
| 12 | #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" |
| 13 | #include "llvm/Target/TargetLoweringObjectFile.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | class BPFTargetLoweringObjectFileELF : public TargetLoweringObjectFileELF { |
| 17 | |
| 18 | public: |
| 19 | MCSection * |
| 20 | getSectionForJumpTable(const Function &F, const TargetMachine &TM, |
| 21 | const MachineJumpTableEntry *JTE) const override; |
| 22 | }; |
| 23 | } // namespace llvm |
| 24 | |
| 25 | #endif // LLVM_LIB_TARGET_BPF_BPFTARGETLOWERINGOBJECTFILE |
| 26 |