| 1 | //===-- DebugerSupport.h - Utils for enabling debugger support --*- 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 | // Utilities for enabling debugger support. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGGERSUPPORT_H |
| 14 | #define LLVM_EXECUTIONENGINE_ORC_DEBUGGERSUPPORT_H |
| 15 | |
| 16 | #include "llvm/Support/Compiler.h" |
| 17 | #include "llvm/Support/Error.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | namespace orc { |
| 21 | |
| 22 | class LLJIT; |
| 23 | |
| 24 | LLVM_ABI Error enableDebuggerSupport(LLJIT &J); |
| 25 | |
| 26 | } // namespace orc |
| 27 | } // namespace llvm |
| 28 | |
| 29 | #endif // LLVM_EXECUTIONENGINE_ORC_DEBUGGERSUPPORT_H |
| 30 | |