| 1 | /*========================== begin_copyright_notice ============================ |
| 2 | |
| 3 | Copyright (C) 2017-2021 Intel Corporation |
| 4 | |
| 5 | SPDX-License-Identifier: MIT |
| 6 | |
| 7 | ============================= end_copyright_notice ===========================*/ |
| 8 | |
| 9 | #ifndef IGIL_LOADBUFFER_H |
| 10 | #define IGIL_LOADBUFFER_H |
| 11 | |
| 12 | #include <string> |
| 13 | #include <list> |
| 14 | #include <memory> |
| 15 | |
| 16 | #define LLVM_EXIT(a) \ |
| 17 | { \ |
| 18 | (throw std::exception()); \ |
| 19 | } |
| 20 | |
| 21 | namespace llvm { |
| 22 | char *LoadCharBufferFromResource(unsigned int ResNumber, const char *pResType, long unsigned int &m_buffSize); |
| 23 | } // namespace llvm |
| 24 | |
| 25 | #endif // IGIL_LOADBUFFER_H |