xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
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