clang 24.0.0git
hlsl_debugging.h
Go to the documentation of this file.
1//===----- hlsl_debugging.h - HLSL debugging functions -------------------===//
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 _HLSL_HLSL_DEBUGGING_H_
10#define _HLSL_HLSL_DEBUGGING_H_
11
12namespace hlsl {
13
14_HLSL_AVAILABILITY(shadermodel, 6.10)
15void inline DebugBreak() { __builtin_debugtrap(); }
16
17} // namespace hlsl
18
19#endif // _HLSL_HLSL_DEBUGGING_H_
#define _HLSL_AVAILABILITY(platform, version)
Definition hlsl.h:19
void DebugBreak()