| 1 | //===-- DirectXContainerObjectWriter.h - DX object writer ------*- 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 | // This file contains DXContainer object writers for the DirectX backend. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef LLVM_DIRECTX_DIRECTXCONTAINEROBJECTWRITER_H |
| 14 | #define LLVM_DIRECTX_DIRECTXCONTAINEROBJECTWRITER_H |
| 15 | |
| 16 | #include "llvm/MC/MCObjectWriter.h" |
| 17 | #include "llvm/Support/CommandLine.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | |
| 21 | std::unique_ptr<MCObjectTargetWriter> createDXContainerTargetObjectWriter(); |
| 22 | |
| 23 | namespace dxil { |
| 24 | extern cl::opt<bool> EmbedDebug; |
| 25 | extern cl::opt<bool> SlimDebug; |
| 26 | extern cl::opt<std::string> PdbDebugPath; |
| 27 | } // namespace dxil |
| 28 | } |
| 29 | |
| 30 | #endif // LLVM_DIRECTX_DIRECTXCONTAINEROBJECTWRITER_H |
| 31 | |