xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1 //===-- OffloadDump.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_TOOLS_LLVM_OBJDUMP_OFFLOADDUMP_H
10 #define LLVM_TOOLS_LLVM_OBJDUMP_OFFLOADDUMP_H
11 
12 #include "llvm/Object/ObjectFile.h"
13 #include "llvm/Object/OffloadBinary.h"
14 
15 namespace llvm {
16 
17 void dumpOffloadSections(const object::OffloadBinary &OB);
18 void dumpOffloadBinary(const object::ObjectFile &O);
19 
20 } // namespace llvm
21 
22 #endif
23