================
@@ -0,0 +1,19 @@
+//===----- hlsl_debugging.h - HLSL debugging functions -------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM 
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _HLSL_HLSL_DEBUGGING_H_
+#define _HLSL_HLSL_DEBUGGING_H_
+
+namespace hlsl {
+
+_HLSL_AVAILABILITY(shadermodel, 6.10)
+void inline DebugBreak() { __builtin_debugtrap(); }
----------------
farzonl wrote:

This is fine as is and does not need to change. That said are there going to be 
more apis in this file? The organization is nice for a seperate debug header, 
but if there are going to be more was curious if using tablegen would make 
sense. 

https://github.com/llvm/llvm-project/pull/242109
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to